Pyngram v.1.0

Advertisement
Advertisement

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.py#md5=a605fbf4900e5f5979d04bccd818b373

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

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

Review Pyngram

  • captcha
 
 
New Miscellaneous software
  • Action1 Running Process Explorer  v.2.3Action1 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.
  • SmartCallMonitor Free  v.3.0SmartCallMonitor is the easy-to-use calling and monitoring software for TAPI capable hardware like a telephone system or an ISDN card. Use your Outlook contacts for reverse lookup or request automatically an online service.
  • 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.
  • Bigfloat  v.0.1.2Arbitrary precision correctly-rounded floating point arithmetic, via MPFR ...
  • Mount_dd  v.2.0RAW image mounting tool ...