🗂️ A minimalist program indexing the content of Noam Chomsky
Find a file
2021-03-26 14:57:37 +00:00
examples Add examples 2020-09-30 19:21:28 +01:00
h5 Create base_df.h5 2021-03-26 14:14:54 +00:00
html Add html folder 2021-03-26 14:16:12 +00: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 Add search for print results, a settings button and a format setting 2021-03-26 14:24:20 +00:00
icon_black.icns Add layer to icons 2021-03-26 14:07:53 +00:00
icon_black.ico Add layer to icons 2021-03-26 14:07:53 +00:00
icon_white.png Create icon_white.png 2020-10-04 13:42:59 +01:00
LICENSE Create LICENSE 2021-03-24 16:53:48 +00:00
README.md Update README.md 2021-03-26 14:57:37 +00:00
requirements.txt Update requirements.txt 2021-03-26 14:10:16 +00:00
search.py Add search for print results, a settings button and a format setting 2021-03-26 14:24:20 +00:00
setup.py Create setup.py 2021-03-26 14:17:27 +00: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_Windows.zip using this link and extract it. If SmartScreen appears, click More info then click Run anyway.

macOS

On macOS, download The_Chomsky_Index_macOS.zip using this link and unzip it if needed. The Chomsky Index.app must then be moved once into a different location than the one into which it was extracted. Open it and exit the dialog that appears. Then right-click > Open > Open.

Ubuntu

On Ubuntu, download The_Chomsky_Index_Ubuntu.zip using this link and extract it. In the executable properties tick Allow executing file as program.

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

Or install from source

Use Python 3.7 without Anaconda. Upgrade setuptools and install the requirements with

pip3 install --upgrade setuptools
pip3 install -r requirements.txt

Run the below commands based on your operating system.

Windows

pyinstaller --icon=icon_black.ico --add-data h5;h5 --add-data html;html --add-data icon_white.png;png -w -F display.py

macOS

Rename display.py to The Chomsky Index.py. Then run

python3 setup.py py2app

Ubuntu

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 h5:h5 --add-data html:html --add-data icon_white.png:png -w -F display.py

In the executable properties, change the icon to icon_black.ico from the repo.