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
isComment
isComment (self, line)
Added to advas-0.1.7, expanded and adjusted in advas-0.2.5
Verifies the given
line
for being a UNIX style comment starting with a cross (
#
).
In:
line
line of text that will be validated
Out:
True
in case of a comment, otherwise
False
.