| cnt | ||
| examples | ||
| base.py | ||
| convert.py | ||
| display.py | ||
| icon_black.icns | ||
| icon_black.ico | ||
| icon_white.png | ||
| README.md | ||
| requirements.txt | ||
| search.py | ||
| sources.py | ||
The Chomsky Index
A minimalist program indexing the content of Noam Chomsky.
Download
Windows
On Windows, download The_Chomsky_Index.exe using this link, which should require no further setup.
Install from source with pyinstaller
Before using pyinstaller run
pip install -r requirements.txt
Windows
pyinstaller --icon=icon_black.ico --add-data cnt/*.cnt;cnt --add-data icon_white.png;png -w --onefile display.py
Mac
pyinstaller --icon=icon_black.icns --add-data cnt/*.cnt:cnt --add-data icon_white.png:png -w --onefile display.py
Linux
Do not use anaconda or miniconda. After cloning the repo, cd into it and install the requirements with
pip3 install -r requirements.txt
Make pyinstaller and PyQt5 available with
export PATH=$PATH:/home/yourname/.local/bin
Fix a problem with the PyQt5 display with
sudo apt-get install libxcb-xinerama0
Create the program in a folder called dist with
pyinstaller --add-data cnt/*.cnt:cnt --add-data icon_white.png:png -w --onefile display.py
In the executable properties, change the icon to icon_black.ico from the repo.
Usage
Normal search
Use math to search for results containing math, for example in math, maths, mathematics, metamathematics and aftermath.
Separate search
Use anarchism; communism; fascism to search for results with all of anarchism, communism and fascism. Useful in searching for multiple topics mentioned within the same result.
Nearby search
Use bertrand russell + rosa luxemburg to search for results with bertrand russell and rosa luxemburg nearby. Useful in searching for quotes.


