Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from gensim.models import FastText
- sentences = [["my", "friend", "considering", "to", "take", "a", "loan", "from", "a", "bank"],
- ["rainfall", "caused", "neckar", "river", "to", "overflow", "bank", "", "", ""]]
- model = FastText(sentences, min_count=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement