docs: def extract(self, text: str, confidence=0.5, filter=['Person', 'Place', 'Organisation']) -> List[Extraction]:
          """
              Extract with the input text, confidence and fields filter to be used.
              Args:
                  text (str): text input to be annotated
                  confidence (float): the confidence of the annotation
                  filter (List[str]): the fields that to be extracted
  
              Returns:
                  List[Extraction]
          """
  
          filter = ','.join(filter)
          search_data = [('confidence', confidence),
                         ('text', text),
                         ('types', filter)]
          search_headers = {'Accept': 'application/json'}
          r = requests.post(self._search_url,
                            data=search_data,
                            headers=search_headers)
          results = r.json()
  
          last_results = self._combiner(results)
          return last_results