| Package | Description |
|---|---|
| com.wcohen.ss.abbvGapsHmm | |
| com.wcohen.ss.expt |
| Modifier and Type | Field and Description |
|---|---|
protected Acronym |
AbbvGapsHMMEvaluator._acronym |
| Modifier and Type | Method and Description |
|---|---|
Acronym |
AbbreviationAlignmentContainer.getAcronym() |
protected Acronym |
AlignmentPredictionModel.parseCandidate(String outOfParenthesis,
String inParenthesis) |
Acronym |
AlignmentPredictionModel.predict(Acronym candidatePair) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Acronym> |
AlignmentPredictionModel.acronymsArrayToMap(Collection<Acronym> pairs) |
List<Acronym> |
AlignmentPredictionModel.extractCandidatePairs(String text)
Candidates Extraction
|
protected List<Acronym> |
AlignmentPredictionModel.extractHeadNounPattern_2Parts(String text) |
protected List<Acronym> |
AlignmentPredictionModel.extractHeadNounPattern_3Parts(String text) |
protected List<Acronym> |
AlignmentPredictionModel.extractPatternAcronyms(String text) |
protected List<Acronym> |
AlignmentPredictionModel.extractSingleAcronyms(String text) |
protected List<Acronym> |
AlignmentPredictionModel.extractTrailingNounPattern_2Parts(String text) |
protected List<Acronym> |
AlignmentPredictionModel.extractTrailingNounPattern_3Parts(String text) |
Collection<Acronym> |
AlignmentPredictionModel.predict(String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbbvGapsHmmBackwardsEvaluator.backwardEvaluate(Acronym acronym,
List<Double> transitionParams,
List<Double> emissionParams) |
AbbreviationAlignmentContainer<AbbvGapsHMM.Emissions,AbbvGapsHMM.States> |
AbbvGapsHmmBackwardsViterbiEvaluator.backwardViterbiEvaluate(Acronym acronym,
List<Double> transitionParams,
List<Double> emissionParams) |
int |
Acronym.AcronymShortFormComparator.compare(Acronym t1,
Acronym t2) |
int |
Acronym.AcronymFrequencyComparator.compare(Acronym t1,
Acronym t2) |
int |
Acronym.compareTo(Acronym o) |
protected void |
AbbvGapsHMMEvaluator.evaluate(Acronym acronym)
This function enumerates the possible transitions and emissions in a hard coded way, in order to save running-time
|
void |
AbbvGapsHmmExpectationEvaluator.expectationEvaluate(Acronym acronym,
List<Double> transitionCounters,
List<Double> emissionCounters,
List<Double> transitionParams,
List<Double> emissionParams,
Matrix3D alpha,
Matrix3D beta) |
protected void |
AbbvGapsHMM.expectationStep(Acronym acronym,
String trueLongForm) |
AbbreviationAlignmentContainer<AbbvGapsHMM.Emissions,AbbvGapsHMM.States> |
AbbvGapsHmmBackwardsViterbiEvaluator.findMostProbablePathBackwards(Acronym acronym) |
void |
AbbvGapsHmmForwardEvaluator.forwardEvaluate(Acronym acronym,
List<Double> transitionParams,
List<Double> emissionParams) |
Acronym |
AlignmentPredictionModel.predict(Acronym candidatePair) |
AbbreviationAlignmentContainer<AbbvGapsHMM.Emissions,AbbvGapsHMM.States> |
AlignmentPredictionModel.predictAlignment(Acronym candidatePair) |
AbbreviationAlignmentContainer<AbbvGapsHMM.Emissions,AbbvGapsHMM.States> |
AbbvGapsHMM.viterbi(Acronym acronym) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Acronym> |
AlignmentPredictionModel.acronymsArrayToMap(Collection<Acronym> pairs) |
protected void |
AlignmentPredictionModel.addCandidatePair(List<Acronym> allPairs,
String longFormCandidate,
String shortFormCandidate) |
boolean |
AbbvGapsHMM.train(List<List<Acronym>> corpus,
List<Map<String,String>> trueLabels) |
boolean |
AbbvGapsHMM.train(List<List<Acronym>> corpus,
List<Map<String,String>> trueLabels,
boolean force) |
protected boolean |
AbbvGapsHMM.trainCorpus(List<List<Acronym>> corpus,
List<Map<String,String>> trueLabels) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ExtractAbbreviations.addAbbreviationPairs(Map<String,Acronym> predictions) |
protected String |
ExtractAbbreviations.outputAbbvs(Map<String,Acronym> predictions) |
Copyright © 2016. All rights reserved.