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

GH-12: naming conventions #13

Closed
wants to merge 12 commits into from
Closed

Conversation

alanakbik
Copy link
Collaborator

#12

  • changed embedding.py to separate abstract classes for token and document embeddings, i.e. all embedding classes now inherit either from TokenEmbeddings or DocumentEmbeddings

  • populated init.py for better import of classes in subfolders, i.e. 'from flair.models import SequenceTagger'. For this, some import statements in SequenceTagger and TextClassification needed to be changed to qualified references to avoid circular imports

  • renamed sequence labeling trainer class and file to match naming conventions

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