public class AffiliationAddressParser extends AbstractParser
Modifier and Type | Field and Description |
---|---|
Lexicon |
lexicon |
analyzer, cntManager
Constructor and Description |
---|
AffiliationAddressParser() |
Modifier and Type | Method and Description |
---|---|
protected static java.util.List<java.lang.String> |
getAffiliationBlocks(java.util.List<LayoutToken> tokenizations) |
java.util.ArrayList<Affiliation> |
processing(java.lang.String input) |
java.util.List<Affiliation> |
processReflow(java.lang.String result,
java.util.List<LayoutToken> tokenizations)
Post processing of extracted field affiliation and address.
|
protected java.util.ArrayList<Affiliation> |
resultBuilder(java.lang.String result,
java.util.List<LayoutToken> tokenizations,
boolean usePreLabel) |
java.lang.StringBuilder |
trainingExtraction(java.lang.String result,
java.util.List<LayoutToken> tokenizations)
Extract results from a labelled header in the training format without any string modification.
|
close, label, label
public Lexicon lexicon
public java.util.ArrayList<Affiliation> processing(java.lang.String input)
protected static java.util.List<java.lang.String> getAffiliationBlocks(java.util.List<LayoutToken> tokenizations)
public java.util.List<Affiliation> processReflow(java.lang.String result, java.util.List<LayoutToken> tokenizations)
protected java.util.ArrayList<Affiliation> resultBuilder(java.lang.String result, java.util.List<LayoutToken> tokenizations, boolean usePreLabel)
public java.lang.StringBuilder trainingExtraction(java.lang.String result, java.util.List<LayoutToken> tokenizations)