1. About AdvaS
2. Installation Guide
3. Usage Of AdvaS
4. Class AdvancedSearch
5. Class Advas
6. Class AdvasIo
7. Class Descriptors
8. Class Entry
9. Class Ngram
10. Class Phonetics
11. Class Stemmer
-
11.1 __init__
-
11.2 clearStemFile
-
11.3 loadStemFile
-
11.4 ngramStemmer
-
11.5 successorVariety
-
11.6 tableLookup
12. Information Retrieval Resources
13. Documentation
tableLookup
tableLookup (self, term)
Added to advas-0.0.2, and renamed in advas-0.2.5
Returns the stem based on a stem table.
In:
term
a text string
Out:
the stem of
term
. The return value is an empty string if the access to the file with the stems is impossible.
Every line in the table follows the principle "term: stem". The lines have to be sorted in alphabetical order.