docxreviews2txt
Extract reviews changes and comments from a docx file as plan text.
How to install?
pip install docxreviews2txt
How to use?
$ 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:
$ 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
docxreviews2txt-0.2.tar.gz
(3.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docxreviews2txt-0.2.tar.gz.
File metadata
- Download URL: docxreviews2txt-0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0522f1bf39de6ebdb0c404ff592fd799a647e9f89d8d9940446312f2e96ad8cd
|
|
| MD5 |
deb3e022064150605adebbf300be8035
|
|
| BLAKE2b-256 |
2f194f59ebbccc6874cc184f5f6c57d6ca80bc797d1f087367cd37e69c78d28a
|
File details
Details for the file docxreviews2txt-0.2-py3-none-any.whl.
File metadata
- Download URL: docxreviews2txt-0.2-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a61f78c81e476f2e45ad1da6055d85f9766bddf21307b7e6e3cf6afd3d129813
|
|
| MD5 |
396d3960e1b47f8548de7a40385ada53
|
|
| BLAKE2b-256 |
e53f37929ce0eae090dc861939833b2b0da0383312c274d5f80a97ac1fa4e3d9
|