Package | Description |
---|---|
gov.nih.nlm.nls.cSpell.Api |
This package provides Java APIs of CSpells - CSpellApi class.
|
gov.nih.nlm.nls.cSpell.Candidates |
Provides Java classes to generate candidates of 1To1, Split, Merge corrections for non-words/real-words.
|
gov.nih.nlm.nls.cSpell.Corrector |
Provides Java classes to correct target token(s) with the best candidate found in 1To1, Split, Merge corrections for non-words/real-words.
|
gov.nih.nlm.nls.cSpell.NlpUtil |
Contains fundamental natural language process (NLP) utility classes for CSpell.
|
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<TokenObj> |
NdCorrectionApi.Process(java.lang.String inText,
int maxSpRecursiveNo,
java.util.HashMap<java.lang.String,java.lang.String> infExpMap) |
static java.util.ArrayList<TokenObj> |
NdCorrectionApi.Process(java.lang.String inText,
int maxSpRecursiveNo,
java.util.HashMap<java.lang.String,java.lang.String> infExpMap,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
CorrectionApi.ProcessByTokenObj(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi) |
static java.util.ArrayList<TokenObj> |
CorrectionApi.ProcessByTokenObj(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
java.util.ArrayList<TokenObj> |
CSpellApi.ProcessToTokenObj(java.lang.String inText)
cSpell correction process, output to an ArrayList of TokenObj by using
funcMode and rankMode from configuratin file.
|
java.util.ArrayList<TokenObj> |
CSpellApi.ProcessToTokenObj(java.lang.String inText,
boolean debugFlag)
cSpell correction process, output to an ArrayList of TokenObj by using
funcMode and rankMode from configuratin files, with debug print option.
|
java.util.ArrayList<TokenObj> |
CSpellApi.ProcessToTokenObj(java.lang.String inText,
int funcMode,
int rankMode,
boolean debugFlag)
cSpell correction process, output to an ArrayList of TokenObj by
specifying funcMode and rankMode, with debug print option.
|
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<TokenObj> |
CorrectionApi.ProcessByTokenObj(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi) |
static java.util.ArrayList<TokenObj> |
CorrectionApi.ProcessByTokenObj(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
Modifier and Type | Method and Description |
---|---|
static java.util.HashSet<MergeObj> |
NonWordMergeCandidates.GetCandidates(int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTextList,
CSpellApi cSpellApi) |
static java.util.HashSet<MergeObj> |
RealWordMergeCandidates.GetCandidates(int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTextList,
CSpellApi cSpellApi) |
static java.util.HashSet<java.lang.String> |
NonWordMergeCandidates.GetCandidateStrs(int tarPos,
java.util.ArrayList<TokenObj> inTextList,
CSpellApi cSpellApi) |
static java.util.HashSet<java.lang.String> |
RealWordMergeCandidates.GetCandidateStrs(int tarPos,
java.util.ArrayList<TokenObj> inTextList,
CSpellApi cSpellApi) |
protected static java.util.HashSet<MergeObj> |
CandidatesUtilMerge.GetMergeSetByMergeNo(int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTextList,
int mergeNo,
boolean mergeWithHyphen,
boolean shortWordMerge,
RootDictionary suggestDic,
RootDictionary aADic,
RootDictionary mwDic) |
static java.lang.String |
MergeObj.GetNonMergeTerm(MergeObj mergeObj,
java.util.ArrayList<TokenObj> nonSpaceTextList) |
Modifier and Type | Method and Description |
---|---|
static TokenObj |
NonWordCorrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi)
The core method to correct a word by following steps:
Convert inToken to coreTerm
detect if misspell (OOV) - non-word
get candidates
get candidates from 1To1.
|
static TokenObj |
NonWordCorrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi,
boolean debugFlag)
This method does not use context scores to find the correct term.
|
static TokenObj |
RealWordSplitCorrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi,
boolean debugFlag,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList)
The core method to correct a word by following steps:
Convert inToken to coreTerm
detect if real-word
get split candidates
Rank candidates
context
Update information
|
static TokenObj |
RealWord1To1Corrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi,
boolean debugFlag,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList)
The core method to correct a word by following steps:
Convert inToken to coreTerm
detect if real-word
get candidates
get candidates from one-to-one.
|
static TokenObj |
NonWordCorrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi,
boolean debugFlag,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList)
This method uses context scores to find the correct term.
|
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<TokenObj> |
MergeCorrector.CorrectTokenListByMerge(java.util.ArrayList<TokenObj> inTokenList,
java.util.ArrayList<MergeObj> mergeObjList,
java.lang.String procHistStr,
boolean debugFlag,
CSpellApi cSpellApi) |
static java.util.ArrayList<TokenObj> |
ProcRealWordSplit.Process(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
ProcRealWord1To1.Process(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
ProcRealWordMerge.Process(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
ProcNonWordMerge.Process(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
ProcNonWord.Process(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
ProcNonWord.ProcessByStream(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
ProcCorrector.ProcessByTokenObj(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
Modifier and Type | Method and Description |
---|---|
static void |
Split1To1Corrector.AddSplit1To1Correction(java.util.ArrayList<TokenObj> inList,
TokenObj inToken) |
static TokenObj |
NonWordCorrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi)
The core method to correct a word by following steps:
Convert inToken to coreTerm
detect if misspell (OOV) - non-word
get candidates
get candidates from 1To1.
|
static TokenObj |
NonWordCorrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi,
boolean debugFlag)
This method does not use context scores to find the correct term.
|
static TokenObj |
RealWordSplitCorrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi,
boolean debugFlag,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList)
The core method to correct a word by following steps:
Convert inToken to coreTerm
detect if real-word
get split candidates
Rank candidates
context
Update information
|
static TokenObj |
RealWord1To1Corrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi,
boolean debugFlag,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList)
The core method to correct a word by following steps:
Convert inToken to coreTerm
detect if real-word
get candidates
get candidates from one-to-one.
|
static TokenObj |
NonWordCorrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi,
boolean debugFlag,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList)
This method uses context scores to find the correct term.
|
Modifier and Type | Method and Description |
---|---|
static void |
Split1To1Corrector.AddSplit1To1Correction(java.util.ArrayList<TokenObj> inList,
TokenObj inToken) |
static java.util.ArrayList<TokenObj> |
MergeCorrector.CorrectTokenListByMerge(java.util.ArrayList<TokenObj> inTokenList,
java.util.ArrayList<MergeObj> mergeObjList,
java.lang.String procHistStr,
boolean debugFlag,
CSpellApi cSpellApi) |
static MergeObj |
RealWordMergeCorrector.GetCorrectTerm(int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
CSpellApi cSpellApi,
boolean debugFlag)
The core method to correct a word by following steps:
detect if real-word for merge
get candidates
get candidates from merge.
|
static MergeObj |
NonWordMergeCorrector.GetCorrectTerm(int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
CSpellApi cSpellApi,
boolean debugFlag)
The core method to correct a word by following steps:
Convert inToken to removeEndPuncStr
detect if misspell (OOV) - non-word, exclude Aa
get candidates
get candidates from merge.
|
static TokenObj |
RealWordSplitCorrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi,
boolean debugFlag,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList)
The core method to correct a word by following steps:
Convert inToken to coreTerm
detect if real-word
get split candidates
Rank candidates
context
Update information
|
static TokenObj |
RealWord1To1Corrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi,
boolean debugFlag,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList)
The core method to correct a word by following steps:
Convert inToken to coreTerm
detect if real-word
get candidates
get candidates from one-to-one.
|
static TokenObj |
NonWordCorrector.GetCorrectTerm(TokenObj inTokenObj,
CSpellApi cSpellApi,
boolean debugFlag,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList)
This method uses context scores to find the correct term.
|
static java.util.ArrayList<TokenObj> |
ProcRealWordSplit.Process(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
ProcRealWord1To1.Process(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
ProcRealWordMerge.Process(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
ProcNonWordMerge.Process(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
ProcNonWord.Process(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
ProcNonWord.ProcessByStream(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
static java.util.ArrayList<TokenObj> |
ProcCorrector.ProcessByTokenObj(java.util.ArrayList<TokenObj> inTokenList,
CSpellApi cSpellApi,
boolean debugFlag) |
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<TokenObj> |
TextObj.FlatTokenToArrayList(TokenObj inTokenObj) |
static java.util.ArrayList<TokenObj> |
TextObj.GetNonSpaceTokenObjList(java.util.ArrayList<TokenObj> inTokenList) |
java.util.ArrayList<TokenObj> |
TextObj.GetTokenList() |
static java.util.ArrayList<TokenObj> |
TextObj.TextToTokenList(java.lang.String inText) |
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<TokenObj> |
TextObj.FlatTokenToArrayList(TokenObj inTokenObj) |
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<TokenObj> |
TextObj.GetNonSpaceTokenObjList(java.util.ArrayList<TokenObj> inTokenList) |
void |
TextObj.SetTokenList(java.util.ArrayList<TokenObj> tokenList) |
static java.lang.String |
TextObj.TokenListToOperationDetailStr(java.util.ArrayList<TokenObj> tokenList) |
static java.lang.String |
TextObj.TokenListToText(java.util.ArrayList<TokenObj> tokenList) |
static void |
TextObj.UpdateIndexPos(java.util.ArrayList<TokenObj> tokenList) |
Constructor and Description |
---|
TokenObj(TokenObj inTokenObj) |
TokenObj(TokenObj inTokenObj,
java.lang.String tokenStr) |
Constructor and Description |
---|
TextObj(java.util.ArrayList<TokenObj> tokenList)
Public constructor to initiate the text Obj.
|
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<ContextScore> |
RankNonWordMergeByContext.GetCandidateScoreList(java.util.HashSet<MergeObj> candidates,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
boolean debugFlag) |
static java.util.ArrayList<ContextScore> |
RankRealWordMergeByContext.GetCandidateScoreList(java.util.HashSet<MergeObj> candidates,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
boolean debugFlag) |
static java.util.ArrayList<ContextScore> |
RankByContext.GetCandidateScoreList(java.util.HashSet<java.lang.String> candidates,
int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
boolean debugFlag) |
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<ContextScore> |
RankNonWordMergeByContext.GetCandidateScoreSet(java.util.HashSet<MergeObj> candidates,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
boolean debugFlag) |
static java.util.HashSet<ContextScore> |
RankRealWordMergeByContext.GetCandidateScoreSet(java.util.HashSet<MergeObj> candidates,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
boolean debugFlag) |
static java.util.HashSet<ContextScore> |
RankByContext.GetCandidateScoreSet(java.util.HashSet<java.lang.String> candidates,
int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
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) |
static java.util.ArrayList<java.lang.String> |
RankByContext.GetCandidateStrList(java.util.HashSet<java.lang.String> candidates,
int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
boolean debugFlag) |
static java.util.ArrayList<java.lang.String> |
RankByCSpellRealWord1To1.GetCandidateStrList(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<java.lang.String> |
RankByCSpellNonWord.GetCandidateStrList(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.ArrayList<java.lang.String> |
Word2VecContext.GetContext(int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec w2vIm,
boolean word2VecSkipWord,
boolean debugFlag) |
static java.util.ArrayList<java.lang.String> |
Word2VecContext.GetContext(int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec w2vIm,
int radius,
boolean word2VecSkipWord,
boolean debugFlag) |
static DoubleVec |
Word2VecContext.GetContextVec(int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec w2vIm,
boolean word2VecSkipWord,
boolean debugFlag) |
static DoubleVec |
Word2VecContext.GetContextVec(int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec w2vIm,
int radius,
boolean word2VecSkipWord,
boolean debugFlag) |
static MergeObj |
RankNonWordMergeByContext.GetTopRankMergeObj(java.util.HashSet<MergeObj> candidates,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
boolean debugFlag) |
static MergeObj |
RankRealWordMergeByContext.GetTopRankMergeObj(java.util.HashSet<MergeObj> candidates,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
double rwMergeFactor,
boolean debugFlag) |
static MergeObj |
RankRealWordMergeByMode.GetTopRankMergeObj(java.util.HashSet<MergeObj> candidates,
CSpellApi cSpellApi,
boolean debugFlag,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList) |
static MergeObj |
RankNonWordMergeByMode.GetTopRankMergeObj(java.util.HashSet<MergeObj> candidates,
CSpellApi cSpellApi,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
boolean debugFlag) |
static MergeObj |
RankNonWordMergeByContext.GetTopRankMergeObjByScore(java.util.HashSet<MergeObj> candidates,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
boolean debugFlag) |
static MergeObj |
RankRealWordMergeByContext.GetTopRankMergeObjByScore(java.util.HashSet<MergeObj> candidates,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
boolean debugFlag) |
static java.lang.String |
RankRealWordSplitByMode.GetTopRankStr(java.lang.String inStr,
java.util.HashSet<java.lang.String> candidates,
CSpellApi cSpellApi,
boolean debugFlag,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList) |
static java.lang.String |
RankNonWordByMode.GetTopRankStr(java.lang.String inStr,
java.util.HashSet<java.lang.String> candidates,
CSpellApi cSpellApi,
boolean debugFlag,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList) |
static java.lang.String |
RankRealWord1To1ByCSpell.GetTopRankStr(java.lang.String inStr,
java.util.HashSet<java.lang.String> candidates,
CSpellApi cSpellApi,
int tarPos,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
boolean debugFlag) |
static java.lang.String |
RankByContext.GetTopRankStr(java.lang.String inStr,
java.util.HashSet<java.lang.String> candidates,
int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius) |
static java.lang.String |
RankByContext.GetTopRankStr(java.lang.String inStr,
java.util.HashSet<java.lang.String> candidates,
int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
boolean debugFlag) |
static java.lang.String |
RankRealWordSplitByContext.GetTopRankStr(java.lang.String inStr,
java.util.HashSet<java.lang.String> candidates,
int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
int shortSplitWordLength,
int maxShortSplitWordNo,
double rwSplitFactor,
int maxCandNo,
boolean debugFlag) |
static java.lang.String |
RankByCSpellRealWord1To1.GetTopRankStr(java.lang.String inStr,
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) |
static java.lang.String |
RankByCSpellRealWord1To1.GetTopRankStr(java.lang.String inStr,
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.lang.String |
RankByEnsemble.GetTopRankStr(java.lang.String inStr,
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 rangeFactor,
double wf1,
double wf2,
double wf3) |
static java.lang.String |
RankByEnsemble.GetTopRankStr(java.lang.String inStr,
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 rangeFactor,
double wf1,
double wf2,
double wf3,
boolean debugFlag) |
static java.lang.String |
RankByCSpellNonWord.GetTopRankStr(java.lang.String inStr,
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 rangeFactor,
double nwS1MinOScore,
double wf1,
double wf2,
double wf3) |
static java.lang.String |
RankByCSpellNonWord.GetTopRankStr(java.lang.String inStr,
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 rangeFactor,
double nwS1MinOScore,
double wf1,
double wf2,
double wf3,
boolean debugFlag) |
static java.lang.String |
RankByContext.GetTopRankStrByScore(java.lang.String inStr,
java.util.HashSet<java.lang.String> candidates,
int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> nonSpaceTokenList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
boolean debugFlag) |
static void |
ScoreDetailByMode.PrintContextScore(java.util.HashSet<java.lang.String> candSet,
int tarPos,
int tarSize,
java.util.ArrayList<TokenObj> inTextList,
Word2Vec word2VecIm,
Word2Vec word2VecOm,
boolean word2VecSkipWord,
int contextRadius,
int maxCandNo,
boolean debugFlag) |
static void |
ScoreDetailByMode.PrintCSpellScore(java.lang.String inStr,
java.util.HashSet<java.lang.String> candSet,
WordWcMap wordWcMap,
int maxCandNo,
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) |
Submit a bug or feature
Copyright © 2018 National Library of Medicine