1. About AdvaS
2. Installation Guide
3. Usage Of AdvaS
4. Class AdvancedSearch
5. Class Advas
-
5.1 __init__
-
5.2 caverphone
-
5.3 compareNgramLists
-
5.4 getEncoding
-
5.5 getNgramsByWord
-
5.6 getNgramsByLine
-
5.7 getNgramsByParagraph
-
5.8 getSynonyms
-
5.9 getText
-
5.10 isComment
-
5.11 isLanguage
-
5.12 isLanguageByKeywords
-
5.13 isSynonymOf
-
5.14 kmpSearch
-
5.15 metaphone
-
5.16 nysiis
-
5.17 phoneticCode
-
5.18 removeItems
-
5.19 setText
-
5.20 setEncoding
-
5.21 soundex
-
5.22 splitLine
-
5.23 splitParagraph
-
5.24 splitText
-
5.25 tf
-
5.26 tfStop
6. Class AdvasIo
7. Class Descriptors
8. Class Entry
9. Class Ngram
10. Class Phonetics
11. Class Stemmer
12. Information Retrieval Resources
13. Documentation
tf
tf (self)
Added to advas-0.0.1, expanded in advas-0.2.5
Calculates the term frequency for the whole text document.
In:
Out:
dictionary
a list of pairs whereas the element key represents the term, and the element value the frequency of the term in the text.