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
 
 getNgramsByLine
 
getNgramsByLine (self, ngramSize)

Originally named comp_ngrams, and separated in advas-0.2.5

Calculates the ngrams line by line. The basis is the Advas object.

In: word term, for which the ngrams are calculated
  ngramSize sets the length of the ngrams — the number of characters

Out:   the list of ngrams. If ngramSize is 0, the return value is an empty list.

For more information about ngrams, see the according article on Wikipedia.