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

hello #7

Open
vcbeaut opened this issue Aug 23, 2019 · 0 comments
Open

hello #7

vcbeaut opened this issue Aug 23, 2019 · 0 comments

Comments

@vcbeaut
Copy link

vcbeaut commented Aug 23, 2019

handsome boy, excuse me!
when I have been studing chatbot, I have a question that I don't understand . because of I thank you are enthusiastic,so I want to ask you for this question as follow:

eng_vocab_size = len(eng_tokenizer.word_index) + 1

this code means vocabulary size equals the length of word-index adding 1, I dont't understand why it need to add 1. I think it is necessary to add 1. please you help me , thank you !

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

1 participant