Package org.getalp.dbnary.languages.deu
Class GermanDeklinationTableExtractor
- java.lang.Object
-
- org.getalp.dbnary.morphology.HtmlTableHandler
-
- org.getalp.dbnary.morphology.TableExtractor
-
- org.getalp.dbnary.languages.deu.GermanTableExtractor
-
- org.getalp.dbnary.languages.deu.GermanDeklinationTableExtractor
-
public class GermanDeklinationTableExtractor extends GermanTableExtractor
-
-
Field Summary
-
Fields inherited from class org.getalp.dbnary.morphology.TableExtractor
alreadyParsedTables, currentEntry
-
-
Constructor Summary
Constructors Constructor Description GermanDeklinationTableExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<InflectionData>
getInflectionDataFromCellContext(List<String> context)
returns the inflection data that correspond to current celle context-
Methods inherited from class org.getalp.dbnary.languages.deu.GermanTableExtractor
shouldIgnoreCurrentH2
-
Methods inherited from class org.getalp.dbnary.morphology.TableExtractor
addToContext, decodeH2Context, getInflectedForms, getRowAndColumnContext, handleNestedTables, handleSimpleCell, isHeaderCell, isNormalCell, parseHTML, parseTable, shouldProcessCell
-
Methods inherited from class org.getalp.dbnary.morphology.HtmlTableHandler
explodeTable, getBackgroundColor
-
-
-
-
Method Detail
-
getInflectionDataFromCellContext
protected List<InflectionData> getInflectionDataFromCellContext(List<String> context)
Description copied from class:TableExtractor
returns 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:
getInflectionDataFromCellContext
in classTableExtractor
- Parameters:
context
- a list of Strings that represent the celle context- Returns:
- The InflexionData corresponding to the context
-
-