docxreviews2txt-0.2
توضیحات
Extract reviews changes and commentaries from a docx file as plan text.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | docxreviews2txt-0.2 |
| نام | docxreviews2txt |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alan Guedes |
| ایمیل نویسنده | alanlivio@gmail.com |
| آدرس صفحه اصلی | http://github.com/alanlivio/docxreviews2txt |
| آدرس اینترنتی | https://pypi.org/project/docxreviews2txt/ |
| مجوز | MIT |
# docxreviews2txt
Extract reviews changes and comments from a docx file as plan text.
## How to install?
```bash
pip install docxreviews2txt
```
## How to use?
```txt
$ docxreviews2txt -h
usage: docxreviews2txt [-h] [--save_txt | --save_p_xml] docx
positional arguments:
docx input docx
options:
-h, --help show this help message and exit
--save_txt save review as txt
--save_p_xml save extracted paragraphs xml for debugging
```
Example:
```txt
$ docxreviews2txt tests/lorem_ipsum.docx
# comments
- This is a comment from docx
# Typos and rewriting suggestions
- sit amet, consectetur -> sit amet, consectetur Lorem ipsum
- sit amet, consectetur adipiscing elit, sed do -> sit amet, consectetur elit, sed do
- sit amet, consectetur adipiscing elit, sed -> sit amet, consectetur adipiscings elit, sed
- enim ad minim veniam, quis nostrud -> enim ad minim do veniam, quis nostrud
- enim ad minim veniam -> enim ad minim Lorem veniam
- veniam, quis nostrud -> veniam ipsum, quis nostrud
- sit amet, consectetur adipiscing elit, sed do -> sit amet, consectetur elit, sed do
```
## References
- https://github.com/ankushshah89/python-docx2txt
نیازمندی
| مقدار | نام |
|---|---|
| >=0.2.4 | docx |
| >=1.4.0 | argparse |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >= 3.6 | Python |
نحوه نصب
نصب پکیج whl docxreviews2txt-0.2:
pip install docxreviews2txt-0.2.whl
نصب پکیج tar.gz docxreviews2txt-0.2:
pip install docxreviews2txt-0.2.tar.gz