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

Incorrect inflection of patronymics #12

Open
ArkhipovK opened this issue Apr 13, 2020 · 0 comments
Open

Incorrect inflection of patronymics #12

ArkhipovK opened this issue Apr 13, 2020 · 0 comments

Comments

@ArkhipovK
Copy link

Wrong normalisation of patronymic words.

const morp = Az.Morph("Александрович")[0]
morp.normalize()

will return

{
  formCnt: 36
  formIdx: 0
  paradigm: Uint16Array(108) [ 0, 52, 12283, … ]
  paradigmIdx: 26
  prefix: ""
  score: 1
  stutterCnt: 0
  suffix: ""
  tag: Object { NOUN: true, POST: "NOUN", anim: true, … }
  typosCnt: 0
  word: "александр"
}

So the inflections of this word is also wrong

morp.inflect({CAse: 'datv'})
/*
  ...
  tag: Object { NOUN: true, POST: "NOUN", anim: true, … }
  typosCnt: 0
  word: "александру"
*/

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