-
Notifications
You must be signed in to change notification settings - Fork 48
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
TypeError: object of type 'int' has no len() #53
Comments
I'm sorry, I typed incorrect command. |
Ok, please let me know your command. |
Thank you. |
I think this error since your training file format I just fix code, please use recent version and please let me know the result.
|
I got the following error. I checked at line 1298 in
"ほげ[space]ほげ" is proper noun. Thank you for your help to know this error cause. |
I fix
Any ideas? |
Yes! I think it is a good solution. Each sentence must be split by a blank line (empty line \n) in
I mean if you have two sentences,
|
My |
Now your
|
Yes. |
OK. Can you send me your input file via e-mail if you are ok. |
Or, please try replace [tab] to [space] :
and please use Maybe [tab] unicode causes this error? |
It worked!!! |
OK. |
I see. Thank you very much. |
When I trained with English train/dev files, it worked.
But when I trained with Japanese train/dev files (and set pre-trained Japanese word embeddings file), I got the following error.
I want to set pre-trained Japanese char embeddings file, but it looks like there is not
--char_emb_file
option.I am wondering if this is the cause of the error.
Does it support Japanese train/dev file (or --char_emb_file option) ?
Thank you.
The text was updated successfully, but these errors were encountered: