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

Function implementation for self.c_tagger.viterbi() #111

Open
dupree opened this issue Aug 26, 2019 · 0 comments
Open

Function implementation for self.c_tagger.viterbi() #111

dupree opened this issue Aug 26, 2019 · 0 comments

Comments

@dupree
Copy link

dupree commented Aug 26, 2019

I am trying to port this code to TypeScript, inorder to do so I need to see how the model.prediction() works. At the end it boils down to Tagger.tag() fucntion call for which I am not able to find the source-code https://python-crfsuite.readthedocs.io/en/latest/pycrfsuite.html#pycrfsuite.Tagger.tag

On checking the _pycrfsuite.pyx file located at https://github.com/scrapinghub/python-crfsuite/blob/master/pycrfsuite/_pycrfsuite.pyx, it calls a self.c_tagger.viterbi(). But I am unable to further see how this method is implemented.
Can anyone please point me to the source code.

Thanks

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