the-chomsky-index/README.md
2020-10-14 21:17:12 +01:00

2.1 KiB

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

Use math to search for results containing math, for example in math, maths, mathematics, metamathematics and aftermath.

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.

Use bertrand russell + rosa luxemburg to search for results with bertrand russell and rosa luxemburg nearby. Useful in searching for quotes.

Examples

Using a normal search to find occurrences of haiti

examples/tci_normal.gif





Using a separate search to find results that contain arithmetic and atoms

examples/tci_separate.gif





Using a nearby search to find the source of a quote

examples/tci_nearby.gif