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

Add describer to Python API's Omorfi class #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

frankier
Copy link
Contributor

I'm not sure if this is the nicest way to do this. It might turn out nicer if the Omorfi class was split into one to manage FSTs and one to do analysis which would take the FST(s) it should use as an argument.

## whether UDPipe is loaded
self.can_udpipe = False
## whether to use full lexicon/describe FST

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too many leading '#' for block comment

@@ -120,8 +126,12 @@ def __init__(self, verbosity=False):
self.can_labelsegment = False
## whether guesser model is loaded
self.can_guess = False
## whether describer model is loaded

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too many leading '#' for block comment

@@ -84,6 +88,8 @@ def __init__(self, verbosity=False):
self.acceptor = None
## guesser model
self.guesser = None
## describer model

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too many leading '#' for block comment

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

Successfully merging this pull request may close these issues.

2 participants