https://github.com/mattbriggs/concordance
This program will count all of the words in the file and export a CSV named Indexof_.csv. You can use this repo to create a command-line utility for the Mac and PC with Pyinstaller.
https://github.com/mattbriggs/concordance
concordance histogram text-analysis word-count
Last synced: 3 months ago
JSON representation
This program will count all of the words in the file and export a CSV named Indexof_.csv. You can use this repo to create a command-line utility for the Mac and PC with Pyinstaller.
- Host: GitHub
- URL: https://github.com/mattbriggs/concordance
- Owner: mattbriggs
- License: mit
- Created: 2017-05-04T15:26:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-01T14:37:07.000Z (almost 8 years ago)
- Last Synced: 2025-07-19T21:04:23.677Z (6 months ago)
- Topics: concordance, histogram, text-analysis, word-count
- Language: Python
- Homepage: http://www.mattbriggs.us
- Size: 7.81 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.md
Awesome Lists containing this project
README
# Concordance
Written in 2016 by Matt Briggs
This program will count all of the words in the file and export a CSV named Indexof_.csv. You can use this repository to create a command-line utility for the Mac and PC with Pyinstaller.
## Operation of the application
The command-line application will ask for a filename. It will take a text only file (UTF-8). The application will then parse the file and count each word. A word is defined by any string between spaces. The app will produce a comma delimited file (CSV) with the each string in alpha order and the count in the source file.
## Application Set Up
The application requires:
- Python 3+
- CMD (Lib/cmd.py) For more information see: https://docs.python.org/3.6/library/cmd.html
**Optionally**: You can use Pyinstaller with the two stubbed out scripts to create command-line utilities for the Mac or PC. There is a small shell script for the PC (build.cmd) and a bash script for the Mac (Build.sh). Make sure both scripts point to the directory that contains these python files.
For more information about Pyinstaller and steps on installing Pyinstaller see:
http://www.pyinstaller.org