Experimenting with automated classification of text files. The script searches for the most common words in the text and tries to match these words to a category.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
rita 29636e5764 Upload files to '' 4 years ago
1600px-Common_words.png Upload files to '' 4 years ago
README.md Upload files to '' 4 years ago
anarchist_cookbook.txt files 5 years ago
categorization.py files 5 years ago
example.png files 5 years ago
fifty_shades.txt files 5 years ago
library_studies.txt files 5 years ago
lolita.txt files 5 years ago
mein_kampf.txt files 5 years ago
own_nothing.txt files 5 years ago
prideandprejudice.txt files 5 years ago
stopwords.txt files 5 years ago

README.md

Categorisation of text files

The actions of categorising and cataloging happen in the most mundane activities, but they are not innocent. They translate values and certain visions of the world.

In the Rietveld Academy Library, we saw how the librarians are challenging the Library of Congress classification. With Dušan we browsed in the Monoskop Index, an interesting combination of a “book index, library catalog, and tag cloud”.

With this script, I was experimenting with an automated classification of text files. The script searches for the three most common words in the text and tries to match these words to a category. For example, if one of the most common words is “books” the category of the text is considered “Library Studies”. The same would happen with the word “archives”, “author”, “bibliographic”, “bibliotheca”, “book”, “bookcase”, etc. The script only has one category right now, but it would be easy to add more. By doing so, I would be making associations that are very personal, sometimes inaccurate, and I would be creating a bias in the catalog.

Stopwords image