🗂️ A minimalist program indexing the content of Noam Chomsky
Find a file
2020-11-01 19:38:27 +00:00
cnt Add CNT files 2020-11-01 13:28:48 +00:00
examples Add examples 2020-09-30 19:21:28 +01:00
base.py Delete VTT and SRT files 2020-11-01 19:38:27 +00:00
convert.py Convert from SRT to CNT in base.py 2020-11-01 19:29:54 +00:00
display.py Rename result font size variables 2020-11-01 12:27:09 +00:00
icon_black.icns Create icon_black.icns 2020-10-04 13:41:56 +01:00
icon_black.ico Create icon_black.ico 2020-10-04 13:41:00 +01:00
icon_white.png Create icon_white.png 2020-10-04 13:42:59 +01:00
README.md Update README.md 2020-10-22 21:03:57 +01:00
requirements.txt Create requirements.txt 2020-10-07 20:01:05 +01:00
search.py Create search.py 2020-10-01 19:53:07 +01:00
sources.py Update sources.py 2020-11-01 12:50:03 +00:00

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.

Mac

On Mac, download The_Chomsky_Index.zip using this link, unzip it and run display.app, which should require no further setup.

Linux Ubuntu

On Linux Ubuntu, download The_Chomsky_Index using this link, and in the executable properties tick Allow executing file as program, which should require no further setup.

Install from source with pyinstaller

First install the requirements with

pip3 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. 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