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

conflict between mlphon and mlmorph #14

Open
dsplog opened this issue Nov 28, 2021 · 0 comments
Open

conflict between mlphon and mlmorph #14

dsplog opened this issue Nov 28, 2021 · 0 comments

Comments

@dsplog
Copy link

dsplog commented Nov 28, 2021

seeing conflict when trying to load mlphon and mlmorph together

the code snippet

from mlmorph import Generator
from mlphon import PhoneticAnalyser
generator = Generator()
print('try1')
print(generator.generate("കേരളം<np><genitive>"))
mlphon = PhoneticAnalyser()
print('try2 - after init of mlphon')
print(generator.generate("കേരളം<np><genitive>"))

returns

try1
[('കേരളത്തിന്റെ', 181), ('കേരളത്തിൻ', 188)]
try2 - after init of mlphon
[]

the second try of generate after mlphon is initialised, returns empty

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