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

Adding afrikaans support to flair nlp project #1959

Conversation

QueueStat
Copy link

This is my solution for the current "Semester Projekt Gruppe 5" task.

Kind regards
Martin Vogel

Copy link
Collaborator

@alanakbik alanakbik left a comment

Choose a reason for hiding this comment

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

The code throws errors when I load the object:

# load corpus (throws error)
corpus = UD_AFRIKAANS()

# print corpus
print(corpus)

# print some sentences in corpus
print(corpus.train[1])
print(corpus.dev[1])
print(corpus.test[1])

# print UPOS tags
dictionary = corpus.make_tag_dictionary('upos')
print(dictionary)

Can you double-check?

@QueueStat
Copy link
Author

The code throws errors when I load the object:

# load corpus (throws error)
corpus = UD_AFRIKAANS()

# print corpus
print(corpus)

# print some sentences in corpus
print(corpus.train[1])
print(corpus.dev[1])
print(corpus.test[1])

# print UPOS tags
dictionary = corpus.make_tag_dictionary('upos')
print(dictionary)

Can you double-check?

Fixed now?

Kind regards
Martin Vogel

@alanakbik
Copy link
Collaborator

Does this code run for you locally?

@QueueStat
Copy link
Author

Does this code run for you locally?

Now it does. I have sent a e-mail to you with the logs :)

Kind regards
Martin Vogel

@alanakbik
Copy link
Collaborator

@QueStat great, thanks for adding this!

@alanakbik alanakbik merged commit f5084d1 into flairNLP:master Nov 11, 2020
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