pharo-ai / NgramModel

Ngram language model implemented in Pharo
MIT License
4 stars 4 forks source link

Create bigram from String #24

Open hernanmd opened 3 years ago

hernanmd commented 3 years ago

I tried to get a bi-gram of a String with letters as bigrams units, but I get an empty Collection as result :

#('Nelson') bigrams.
#Nelson bigrams.
'Nelson' bigrams.

I expected the output to be:

Ne el ls so on

Is this supported or I am missing something?