code: private void termsApiUsage() throws JsonProcessingException, ApiException {
          /**
           * 
           */
          LOG.info("The Terms API usage.");
          Terms api = retinaApisInstance.termsApi();
          /**
           * 
           */
          LOG.info("Terms API: getContextsForTerm");
          List<Context> contexts = api.getContexts("apple");
          logContext(contexts);
          contexts = api.getContexts("apple", new Pagination(0, 2), true);
          
          logContext(contexts);
          /**
           * 
           */
          List<Term> terms;
          LOG.info("Terms API: getSimilarTerms");
          
          terms = api.getSimilarTerms("tiger");
          
          logTerms(terms);
          
          terms = api.getSimilarTerms("tiger", null, PosType.NOUN);
          
          logTerms(terms);
          
          //**** ERROR *****
          terms = api.getSimilarTerms("tiger", null, PosType.NOUN, true);
          logTerms(terms);
          /**
           * 
           */
          LOG.info("Terms API: getTerm");
          terms = api.getTerm("apple");
          logTerms(terms);
          System.out.println();
          
          terms = api.getTerm("banana", new Pagination(0, 2), true);
          logTerms(terms);
          System.out.println();
          
          LOG.info("Terms API: getTerm NULL TEST");
          terms = api.getTerm(null);
          logTerms(terms);
      }
docs: The Terms API usage.
  
  @throws JsonProcessingException
  @throws ApiException