Package javadocofflinesearch.extensions
Class Vocabulary
java.lang.Object
javadocofflinesearch.extensions.Vocabulary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
didYouMean
(int count, Iterable<String> posibilities, String queryString) didYouMean
(int count, String queryString) didYouMean
(int count, String... queryStrings) this one takes ALL querySAtrings, put them to ALL lists, then sort and take best of EACHdidYouMeanORIG
(int count, String... queryStrings) this one takes ALL querySAtrings, put them to ONE list, then sort and take best of ALLgetFile()
boolean
isEmpty()
void
laodVocs()
void
saveVocs()
int
size()
-
Field Details
-
vocName
- See Also:
-
-
Constructor Details
-
Vocabulary
-
-
Method Details
-
getFile
-
add
-
saveVocs
- Throws:
IOException
-
laodVocs
- Throws:
IOException
-
didYouMeanORIG
this one takes ALL querySAtrings, put them to ONE list, then sort and take best of ALL- Parameters:
count
-queryStrings
-- Returns:
-
didYouMean
this one takes ALL querySAtrings, put them to ALL lists, then sort and take best of EACH- Parameters:
count
-queryStrings
-- Returns:
-
didYouMean
-
didYouMean
-
isEmpty
public boolean isEmpty() -
size
public int size() -
addAll
-