Startfrom freeware
Startfrom
Added: November 09, 2013 | Visits: 525
pyngram is a simple n-gram calculator written in Python. Given an arbitrary string, and the value of n as the size of the n-gram (int), this code snip will show you the results, sorted from most to least frequently occuring n-gram. The 'sort by value' operation for the dict follows the PEP 265...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (38): pyngram Download |