@datagica/parse-diseases

0.0.1 • Public • Published

Parse Diseases

If a disease, license or copyright is missing you can create a pull request

Installation

$ npm i @datagica/parse-diseases

Usage

Example:

await parse('These are symptoms of glossopharyngeal neuralgia.')

Output:

[
  {
    "ngram": "glossopharyngeal neuralgia",
    "value": {
      "id": "glossopharyngeal-neuralgia",
      "label": {
        "en": "Glossopharyngeal neuralgia"
      },
      "description": {
        "en": "Glossopharyngeal neuralgia"
      },
      "aliases": {
        "en": [
          "Glossopharyngeal neuralgia"
        ]
      }
    },
    "score": 1,
    "position": {
      "sentence": 0,
      "word": 4,
      "begin": 22,
      "end": 48
    }
  }
]

TODO

https://en.wikipedia.org/wiki/Category:Lists_of_diseases https://en.wikipedia.org/wiki/Lists_of_diseases

Readme

Keywords

none

Package Sidebar

Install

npm i @datagica/parse-diseases

Weekly Downloads

4

Version

0.0.1

License

GPL-3.0

Unpacked Size

2.1 MB

Total Files

6

Last publish

Collaborators

  • datagica