Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cultivar words are not split #227

Open
dimus opened this issue Apr 28, 2022 · 0 comments
Open

Cultivar words are not split #227

dimus opened this issue Apr 28, 2022 · 0 comments

Comments

@dimus
Copy link
Member

dimus commented Apr 28, 2022

Word section provides one word per record for everything but cultivar plant identifiers. For example:

Achillea 'Cerise Queen'

The words section provides Ahillea as genus word, and Cerise Queen as cultivar word. To be consistent and to correspond to the name of a section I think we should return Cerise, Queen as cultivar words.

{
  "parsed": true,
  "quality": 1,
  "verbatim": "Achillea 'Cerise Queen'",
  "normalized": "Achillea ‘Cerise Queen’",
  "canonical": {
    "stemmed": "Achillea ‘Cerise Queen’",
    "simple": "Achillea ‘Cerise Queen’",
    "full": "Achillea ‘Cerise Queen’"
  },
  "cardinality": 2,
  "details": {
    "uninomial": {
      "uninomial": "Achillea",
      "cultivar": "‘Cerise Queen’"
    }
  },
  "words": [
    {
      "verbatim": "Achillea",
      "normalized": "Achillea",
      "wordType": "UNINOMIAL",
      "start": 0,
      "end": 8
    },
    {
      "verbatim": "Cerise Queen",
      "normalized": "‘Cerise Queen’",
      "wordType": "CULTIVAR",
      "start": 10,
      "end": 22
    }
  ],
  "id": "d77d065e-8732-5dad-86b0-5b1e62b51525",
  "parserVersion": "v1.6.5"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant