Class GermanKonjugationTableExtractor
java.lang.Object
org.getalp.dbnary.morphology.HtmlTableHandler
org.getalp.dbnary.morphology.TableExtractor
org.getalp.dbnary.languages.deu.GermanTableExtractor
org.getalp.dbnary.languages.deu.GermanKonjugationTableExtractor
- Direct Known Subclasses:
GermanInPageKonjugationTableExtractor
-
Field Summary
Fields inherited from class TableExtractor
alreadyParsedTables, currentEntry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<? extends String> decodeH2Context(String text) protected List<InflectionData> getInflectionDataFromCellContext(List<String> context) returns the inflection data that correspond to current celle contextprotected booleanisHeaderCell(org.jsoup.nodes.Element cell) protected booleanisNormalCell(org.jsoup.nodes.Element cell) Methods inherited from class GermanTableExtractor
shouldIgnoreCurrentH2Methods inherited from class TableExtractor
addToContext, getInflectedForms, getRowAndColumnContext, handleNestedTables, handleSimpleCell, parseHTML, parseTable, shouldProcessCellMethods inherited from class HtmlTableHandler
explodeTable, getBackgroundColor
-
Constructor Details
-
GermanKonjugationTableExtractor
public GermanKonjugationTableExtractor()
-
-
Method Details
-
isNormalCell
protected boolean isNormalCell(org.jsoup.nodes.Element cell) - Overrides:
isNormalCellin classTableExtractor
-
isHeaderCell
protected boolean isHeaderCell(org.jsoup.nodes.Element cell) - Overrides:
isHeaderCellin classTableExtractor
-
getInflectionDataFromCellContext
Description copied from class:TableExtractorreturns the inflection data that correspond to current celle contextThe cell context is a list of String that corresponds to all column and row headers + section headers in which the cell appears.
- Specified by:
getInflectionDataFromCellContextin classTableExtractor- Parameters:
context- a list of Strings that represent the celle context- Returns:
- The InflexionData corresponding to the context
-
decodeH2Context
- Overrides:
decodeH2Contextin classTableExtractor
-