keras-team / keras-preprocessing

Utilities for working with image data, text data, and sequence data.
Other
1.02k stars 444 forks source link

Mistake in text_to_sequences documentation #213

Closed kareemamrr closed 3 years ago

kareemamrr commented 5 years ago

I am using Keras' tokenizer to preprocess some texts, I fit the tokenizer on my corpus and generated sequences using "texts_to_sequences" method. When I looked at the docs the method listed was called "texts_to_word_sequences" and it stated that it took a string as an argument (both on docs website and in the source code available on Github), whereas the one available for actual use is called "texts_to_sequence" and it says that it takes a list of string as an argument (this one is not either in the docs or in the source code).

joshzwiebel commented 4 years ago

Isn't the documentation hosted on the main keras repo. Would this issue be better suited there?