0.0.2 • Published 6 years ago

@datagica/parse-viruses v0.0.2

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
6 years ago

Parse Viruses

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

Installation

$ npm i @datagica/parse-viruses

Usage

Example:

await parse('I always have trouble pronouncing gammalipothrixvirus correctly')

Output:

[
  {
    "ngram": "gammalipothrixvirus",
    "value": {
      "id": "gammalipothrixvirus",
      "label": {
        "en": "Gammalipothrixvirus"
      },
      "description": {
        "en": "Gammalipothrixvirus"
      },
      "category": "genera",
      "aliases": {
        "en": [
          "Gammalipothrixvirus",
        ],
      },
    },
    "score": 1,
    "position": {
      "sentence": 0,
      "word": 5,
      "begin": 34,
      "end": 53
    }
  }
]