docs: def extract(self, table: dict) -> List[Extraction]:
          """
          :param table: a table extracted by table extractor, as a json object
          :return: list of all extractions from the input table
          """
          if table['features']['max_cols_in_a_row'] != 2 and table['features']['no_of_rows'] < 2:
              return []
          results = list()
          for row in table['rows']:
              if len(row['cells']) != 2:
                  continue
              text = [row['cells'][0]['text'], row['cells'][1]['text']]
              for field_name in self.glossaries.keys():
                  if self.cell_matches_dict(text[0], self.glossaries[field_name]):
                      results.append(self.wrap_value_with_context(text[1], field_name))
                  if self.cell_matches_dict(text[1], self.glossaries[field_name]):
                      results.append(self.wrap_value_with_context(text[0], field_name))
          return results