Pyngram v.1.0


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 recommendation.Quick start:from pyngram import calc_ngram calc_ngram('bubble bobble, bubble bobble, bubble bobble', 3) # 3 here is the size of the n-gramOr just run it from the command line prompt: bash > python

pyngram is a simple n-gram calculator written ... A simple Python n-gram calculator ...

  • Pyngram
  • 1.0
  • Jay Liew
  • Linux
  • Freeware
  • 10 Kb
  • 207
  • Free

Review Pyngram

  • captcha
New Miscellaneous software
  • ZenMate VPN for Windows  v.2.5.2ZenMate Security & Privacy VPN: Unblock geo-restricted sites, hide your IP & secure your phone by encrypting all internet transmissions. With our premium version you can also save money with data compression and protect yourself from malicious sit ...
  • Resistor Plus  v.1.0This is an easy-to-use software utility that helps you calculate the value of any resistor, according to the color code printed on its surface. It may also be used in case of the SMD-type resistors, by decoding their letters and numbers.
  • Action1 Running Process Explorer  v.1.1Action1 Running Process Explorer discovers your entire network of Windows systems and allows you to quickly see which processes are running on what computers, with process start time, executable file name, command line and other information.