Перейти к содержимому

Generating Sentences with n-grams using Python

Douglas Starnes

0:00 / 0:00

Generating Sentences with n-grams using Python

17 438 просмотров · 4 г. назад
Douglas Starnes
1,65 тыс. подписчиков
17 438 просмотров · 4 г. назад
This is a little experiment demonstrating how n-grams work. It's not production worthy but it does prove that sentences generated using n-grams are more logical than those which don't use them. And it shows an interesting way to use Python dictionaries and lists.