Usage¶
jugmt --help
usage: jugmt [-h] [--output OUTPUT] [--version] [document ...]
Extract table information from .docx documents
positional arguments:
document path to one or more .docx document(s)
options:
-h, --help show this help message and exit
--output OUTPUT directory where the output will be saved
--version print the version and exit
Example¶
Place yourself in the root of the repository and run:
jugmt example/*.docx --output /tmp/foo
This will extract figures from the .docx
files found in the example
folder and store JSON and HTML versions of the documents in the folder
named /tmp/foo`
.
In case you do not want to run it, then you can inspect the
JSON
and HTML
in the
repository on GitHUB
or locally in the folder example/output
.
For details on the structure of the JSON document, then have a look at the schema section.