Class GermanSubstantiveDeklinationTableExtractor


public class GermanSubstantiveDeklinationTableExtractor extends GermanTableExtractor
  • Constructor Details

    • GermanSubstantiveDeklinationTableExtractor

      public GermanSubstantiveDeklinationTableExtractor()
  • Method Details

    • parseHTML

      public InflectedFormSet parseHTML(String htmlCode, String pagename)
      Overrides:
      parseHTML in class TableExtractor
    • isHeaderCell

      protected boolean isHeaderCell(org.jsoup.nodes.Element cell)
      Overrides:
      isHeaderCell in class TableExtractor
    • getInflectionDataFromCellContext

      protected List<InflectionData> getInflectionDataFromCellContext(List<String> context)
      Description copied from class: TableExtractor
      returns the inflection data that correspond to current celle context

      The 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 class TableExtractor
      Parameters:
      context - a list of Strings that represent the celle context
      Returns:
      The InflexionData corresponding to the context
    • getNumberIndex

      public String getNumberIndex(String str)