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 години
1600px-Common_words.png Upload files to '' преди 4 години
README.md Upload files to '' преди 4 години
anarchist_cookbook.txt files преди 5 години
categorization.py files преди 5 години
example.png files преди 5 години
fifty_shades.txt files преди 5 години
library_studies.txt files преди 5 години
lolita.txt files преди 5 години
mein_kampf.txt files преди 5 години
own_nothing.txt files преди 5 години
prideandprejudice.txt files преди 5 години
stopwords.txt files преди 5 години

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