@datagica/parse-nerves
v0.0.1
Published
Extract nerves from text
Downloads
3
Readme
Parse Nerves
If a nerve, license or copyright is missing you can create a pull request
Installation
$ npm i @datagica/parse-nerves
Usage
Example:
await parse('Dr Grey suspects it has to do with the pterygopalatine ganglion')
Output:
[
{
"ngram": "pterygopalatine ganglion",
"value": {
"id": "pterygopalatine-ganglion",
"label": {
"en": "Pterygopalatine ganglion"
},
"description": {
"en": "Pterygopalatine ganglion"
},
"category": "nerve",
"aliases": {
"en": [
"Pterygopalatine ganglion",
],
},
},
"score": 1,
"position": {
"sentence": 0,
"word": 9,
"begin": 39,
"end": 63
}
}
]