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
 
 kmpSearch
 
kmpSearch (self, text, pattern)

Added to advas-0.1.5, and adjusted in advas-0.2.5

Uses the algorithm from Knuth, Morris and Pratt to locate the given pattern in the text.

In: text text to be used for searching
  pattern text to be looked up in the text

Out:   a list of positions the pattern starts in the text