Package | Description |
---|---|
gov.nih.nlm.nls.cSpell.Ranker |
Provides Java classes to rank candidates and find the best candidate for 1To1, Split, Merge corrections for non-words/real-words.
|
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<CSpellScore> |
RankByCSpellRealWord1To1.GetCandidateScoreList(java.lang.String wordStr,
java.util.HashSet<java.lang.String> candidates,
WordWcMap wordWcMap,
int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
double wf1,
double wf2,
double wf3,
boolean debugFlag) |
static java.util.ArrayList<CSpellScore> |
RankByCSpellNonWord.GetCandidateScoreList(java.lang.String wordStr,
java.util.HashSet<java.lang.String> candidates,
WordWcMap wordWcMap,
int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
int compareMode,
double wf1,
double wf2,
double wf3,
boolean debugFlag) |
static java.util.HashSet<CSpellScore> |
RankByCSpellRealWord1To1.GetCandidateScoreSet(java.lang.String wordStr,
java.util.HashSet<java.lang.String> candidates,
WordWcMap wordWcMap,
int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
double wf1,
double wf2,
double wf3,
boolean debugFlag) |
static java.util.HashSet<CSpellScore> |
RankByCSpellNonWord.GetCandidateScoreSet(java.lang.String wordStr,
java.util.HashSet<java.lang.String> candidates,
WordWcMap wordWcMap,
int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
double wf1,
double wf2,
double wf3,
boolean debugFlag) |
Modifier and Type | Method and Description |
---|---|
static double |
CSpellScore.GetMaxEScore(java.util.ArrayList<CSpellScore> cSpellScoreList) |
static double |
CSpellScore.GetMaxFScore(java.util.ArrayList<CSpellScore> cSpellScoreList) |
static double |
CSpellScore.GetMaxOScore(java.util.ArrayList<CSpellScore> cSpellScoreList) |
static double |
CSpellScore.GetMaxPScore(java.util.ArrayList<CSpellScore> cSpellScoreList) |
Submit a bug or feature
Copyright © 2018 National Library of Medicine