Class GermanKonjugationTableExtractor

Direct Known Subclasses:
GermanInPageKonjugationTableExtractor

public class GermanKonjugationTableExtractor extends GermanTableExtractor
  • Constructor Details

    • GermanKonjugationTableExtractor

      public GermanKonjugationTableExtractor()
  • Method Details

    • isNormalCell

      protected boolean isNormalCell(org.jsoup.nodes.Element cell)
      Overrides:
      isNormalCell 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
    • decodeH2Context

      protected Collection<? extends String> decodeH2Context(String text)
      Overrides:
      decodeH2Context in class TableExtractor