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

MorphAnalyzer.analyze cannot parse numbers #15

Open
abhi-kr-2100 opened this issue Jan 18, 2022 · 0 comments
Open

MorphAnalyzer.analyze cannot parse numbers #15

abhi-kr-2100 opened this issue Jan 18, 2022 · 0 comments

Comments

@abhi-kr-2100
Copy link
Contributor

Here's an example run along with INFO logs demonstrating the problem:

In [1]: import zeyrek

In [2]: ma = zeyrek.MorphAnalyzer()

In [3]: ma.analyze("3'te okuldaydım.")
APPENDING RESULT: <(okul_Noun)(-)(okul:noun_S + a3sg_S + pnon_S + da:loc_ST + nounZeroDeriv_S + nVerb_S + ydı:nPast_S + m:nA1sg_ST)>
APPENDING RESULT: <(._Punc)(-)(.:puncRoot_ST)>
Out[3]:
[[Parse(word='3te', lemma='Unk', pos='Unk', morphemes='Unk', formatted='Unk')],
 [],
 [Parse(word='okuldaydım', lemma='okul', pos='Verb', morphemes=['Noun', 'A3sg', 'Loc', 'Zero', 'Verb', 'Past', 'A1sg'], formatted='[okul:Noun] okul:Noun+A3sg+da:Loc|Zero→Verb+ydı:Past+m:A1sg')],
 [Parse(word='.', lemma='.', pos='Punc', morphemes=['Punc'], formatted='[.:Punc] .:Punc')]]
@abhi-kr-2100 abhi-kr-2100 changed the title MorphAnalyzer.parse cannot parse numbers MorphAnalyzer.analyze cannot parse numbers Jan 18, 2022
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