docs: @Deprecated
      public double similarityToLabel(String rawText, String label) {
          if (tokenizerFactory == null)
              throw new IllegalStateException("TokenizerFactory should be defined, prior to predict() call");
  
          List<String> tokens = tokenizerFactory.create(rawText).getTokens();
          List<VocabWord> document = new ArrayList<>();
          for (String token : tokens) {
              if (vocab.containsWord(token)) {
                  document.add(vocab.wordFor(token));
              }
          }
          return similarityToLabel(document, label);
      }