Skip to content

datagica/parse-bacteria

Repository files navigation

Parse Bacteria

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

Installation

$ npm i @datagica/parse-bacteria

Usage

Example:

await parse('In this paper we study the interaction of pseudoxanthobacter with..')

Output:

[
  {
    "ngram": "pseudoxanthobacter",
    "value": {
      "id": "pseudoxanthobacter",
      "label": {
        "en": "Pseudoxanthobacter"
      },
      "description": {
        "en": "Pseudoxanthobacter"
      },
      "category": "genus",
      "aliases": {
        "en": [
          "Pseudoxanthobacter",
        ],
      },
    },
    "score": 1,
    "position": {
      "sentence": 0,
      "word": 8,
      "begin": 42,
      "end": 60
    }
  }
]

TODO

Releases

No releases published

Packages

No packages published