docs: def sentiment(self, text, method = "vocabulary"):
          """
          determine the sentiment of the provided text in English language
          @param text: input text to categorize
          @param method: method to use to compute the sentiment. possible values are "vocabulary" (vocabulary based sentiment analysis)
              and "rnn" (neural network based sentiment classification)
          @returns: dict
          """
          assert method == "vocabulary" or method == "rnn"
          endpoint = method == "vocabulary" and "sentiment" or "sentimentRNN"
          return self._er.jsonRequestAnalytics("/api/v1/" + endpoint, { "text": text })