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

return none #26

Open
ferish12 opened this issue Aug 18, 2017 · 2 comments
Open

return none #26

ferish12 opened this issue Aug 18, 2017 · 2 comments

Comments

@ferish12
Copy link

hi
after write print tagger['en'].query('this is a good day', returnRaw=True)
output is None.
why?

@WindHunter-Yang
Copy link

I have the same problem,How to solve it?

@goshulina
Copy link

have the same with russian
open the file like this

with open("to_syntaxnet.txt", "r") as myfile:
    data=myfile.read()

the line of text looks lite this:

>>> data
'\xd0\x9c\xd0\xb0\xd0\xbc\xd0\xb0 \xd0\xbc\xd1\x8b\xd0\xbb\xd0\xb0 \xd1\x80\xd0\xb0\xd0\xbc\xd1\x83'

And run
print tagger['ru'].query(data, returnRaw=True)

and than got None

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

3 participants