|
isLanguage
isLanguage (self, keywordList)
|
Added to advas-0.0.6, substituted by isLanguageByKeywords, and
adjusted in advas-0.2.5
Does a language detection on the basis of key words.
In: |
keywordList |
a list of key words
|
Out: |
|
a float value between 0 and 1. The value shows the
degree of similarity that the given document or text is written in
language represented by key words. The higher the value, it is more
likely that the text is written in the expected language. In case the
list of key words is empty the return value is 0.
|
|
|