Open ali3assi opened 6 years ago
There is any way to get the ngram for a given word. suppose the word is music and that this music belongs to vocab (we have the embedding of music). How can i get the embedding of the ngram of music, e.g embedding of mus, usi, sic?
Check https://github.com/lidalei/JFastText/blob/master/src/main/cpp/fasttext_wrapper.h#L29, https://github.com/lidalei/JFastText/blob/master/src/main/cpp/fasttext_wrapper.cc#L89 and https://github.com/lidalei/JFastText/blob/master/src/main/java/com/github/jfasttext/JFastText.java#L100
There is any way to get the ngram for a given word. suppose the word is music and that this music belongs to vocab (we have the embedding of music). How can i get the embedding of the ngram of music, e.g embedding of mus, usi, sic?