Skip to content

Categorizes entered items and retrieves items by category search

Notifications You must be signed in to change notification settings

sarschu/refuCat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

refuCat

Categorizes entered items and retrieves items by category search

Have the following stuff installed:

Requirements:

mongodb
pygermanet
german hunspell dicts /usr/share/hunspell/de_DE.dic /usr/share/hunspell/de_DE.aff

Python:
json
codecs
operator
itertools
numpy
pickle

Some install tips

sudo apt-get install mongodb
sudo pip install repoze.lru pygermanet
sudo apt-get install python-hunspell

Usage:

  1. mongodb starten!!! mongod --dbpath ./mongodb

from categorizer import Categorizer
c = Categorizer()

save categories of a word to word_data_base
c.categorize_word('word')

find all words of a specific category
c.return_all_elements_of_category('category')

delete a word from the category data base
c.delete_word('word')

About

Categorizes entered items and retrieves items by category search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages