Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Spire.PDF for Java 2.7.8
Database Workbench Pro 5.6.10.0
The C# PDF Library 2020.1.5
CAD-Viewer 3DVBVIEW V4
dotConnect for SQLite 5.15
LuaStudio 9.92
EntityDAC 2.3
Devart ODBC Driver for QuickBooks 2.0
phpEnter 5.1.
Udemy Clone script 2.01
VisualNEO Web 19.11.7
VisualNEO for Windows 19.4.29.0
SentiVeillance SDK Trial 7.3
Devart ODBC Driver for PostgreSQL 3.2
SecureBridge 9.2
Top Code
SecureBridge 8.0
dotConnect for SQLite 5.9
EntityDAC 1.6
Database Workbench Pro 5.6.10.0
ATN Site Builder 3.0
ATN Resume Finder 2.0
The C# PDF Library 1.0
SentiVeillance SDK Trial 7.3
PHP Review Script 1.0
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
Devart ODBC Driver for PostgreSQL 3.2
ADO.NET Provider for ExactTarget 1.0
Deals and Discounts Website Script 1.0.2
Aglowsoft SQL Query Tools 8.2
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Python word frequency count using sets and lists 
File ID: 64822






Python word frequency count using sets and lists 
Download Python word frequency count using sets and lists http://share.whichever.com/index.php?SCREEN=freetradeReport Error Link
License: Freeware
Downloads: 36
Submit Rating:
Python word frequency count using sets and lists  Description
Description: This lists unique words and word frequencies occurring in a Python string. You can ignore or take account of letter case in distinguishing words, and you can pass it your own inclusion list of characters allowed in words (e.g. is "import123" the kind of word you want to list, or not? It might be if you're a programmer.) By default only alpha chars are allowed in words.

At first glance having the whole piece of text, and intermediate results, in memory at once is a problem for large files. But it's zippy: it found 1600 unique words in a 7M SQL script (472,000 words in original) in 20 seconds, and hardly notices a 4000-word document cut and pasted across from a word processor.

With a bit of extra work, the algorithm could be fed a very large file in chunks. Anyone?

License: Freeware

Related: Text, unique words, word frequency

O/S:Windows

Downloads: 36



More Similar Code

Diff two directories of Word documents, providing extra context as well, using antiword and dwdiff.



The CCK Word/Character Count module allows an administrator to define a word or character count for a CCK field. When the content creator is adding content in that field, it will display a current count of the number or words/characters and how...



Automate Data Export using DTS and ADO.NET is an article in which the author tells you the method of creating the data transmission service package and runs it on the ASP.NET. DTS is a tool that consists connections, task and workflow which helps...



Using MMC and the sn.exe utility, it becomes very simple to link a .NET assembly to the Global Assembly Cache which is proved through this online tutorial. The author explains about these two utilities which would check the assemblies and build...



Using Images and Files with SQL Server: Part 1 is a tutorial which tells you the method for adding images to the Sql Server database table using various properties of the fileDataStream object. In this tutorial the author gets the size of the...



Using Interfaces and Polymorphism is an article in ASP.NET which concentrates on a powerful feature interface and polymorphism which helps in generating a class in .NET framework. The author elaborates the procedure that have to be adapted to use...



Using WebRequest and WebResponse in NETCOBOL for .NET is a web based tutorial in which the author describes the method of including the webRequest class and Webresponse class in .NETCOBAL inorder to access the data from the internet. The author...



Using XSLT and .NET to Manipulate XML Files is an user friendly tutorial which gives guidelines for the programmers to learn about the process of manipulating XML data in .NET framework, with the help of XSLT. The author gives details about the...



This demo shows a simple program on the video surveilance using MATLAB and some toolboxes.

Features:
1. Run in 2 modes --> Monitoring and Playback
2. Users are allowed to change the threshold value and the snap counter for...



This example shows how to create a rapid simulation target from a Simulink model using RTW, and then create a GUI, which is then compiled into stand alone application by MATLAB compiler to control the parameters tuning of the rapid simulation...

User Review for Python word frequency count using sets and lists
- required fields
     

Please enter text on the image