@datagica/parse-nerves

0.0.1 • Public • Published

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
    }
  }
]

Readme

Keywords

none

Package Sidebar

Install

npm i @datagica/parse-nerves

Weekly Downloads

4

Version

0.0.1

License

GPL-3.0

Unpacked Size

63.7 kB

Total Files

6

Last publish

Collaborators

  • datagica