code: def get_language_tool_feedback(sentence):
      
      payload = {'language':'en-US', 'text':sentence}
      try:
          r = requests.post(LT_SERVER, data=payload)
      except requests.exceptions.ConnectionError as e:
          raise requests.exceptions.ConnectionError('''The languagetool server is
          not running.  Try starting it with "ltserver" ''')
      if r.status_code >= 200 and r.status_code < 300:
          return r.json().get('matches', [])
      return []
docs: Get matches from languagetool