XML formatted full-text articles to text format conversion. Standoff annotations for text and entities. Originally written by Sampo Pyysalo: https://github.com/spyysalo/nxml2txt
Project description
nxml2txt
NLM .nxml to text format conversion
Usage:
./nxml2txt NXMLFILE [TEXTFILE] [SOFILE]
For example (using test document):
./nxml2txt test/PMC3357053.nxml test/PMC3357053.txt test/PMC3357053.so
This creates the files test/PMC3357053.txt, containing the text
content of the input document, and test/PMC3357053.so, containing
the annotations (XML elements and their attributes) in a simple
standoff format.
nxml2txt assumes a unix-like environment. If the input .nxml file contains embedded TeX-math, nxml2txt requires LaTeX and catdvi.
This tool was originally introduced as part of the BioNLP Shared Task 2011 supporting resources (https://github.com/ninjin/bionlp_st_2011_supporting).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 nxml2txt-0.1.4.tar.gz.
File metadata
- Download URL: nxml2txt-0.1.4.tar.gz
- Upload date:
- Size: 41.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.5 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5abffe06582982dd6cc087c41a5e8271f40e922418eadcb9ba7f8438177c3207
|
|
| MD5 |
20d20d4a40bcc6bd650f591dde7c172b
|
|
| BLAKE2b-256 |
c693e2e911fdad06973f035353ed2cc34198c9ff43905d80cee13b3beaefa4bc
|
File details
Details for the file nxml2txt-0.1.4-py3-none-any.whl.
File metadata
- Download URL: nxml2txt-0.1.4-py3-none-any.whl
- Upload date:
- Size: 47.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.5 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e031d0d419ad636eef43e644af6917b3f16450b4ac4929b5c36414e0d7d2b412
|
|
| MD5 |
2b76d57b80b5c8c084dd63db0f66144d
|
|
| BLAKE2b-256 |
fccdd8899bddce27788b1bf480bba1ef80833be48e5816762ea084d063e21c92
|