code: public Document fromTokens(@NonNull Language language, @NonNull String... tokens) {
        return fromTokens(Arrays.asList(tokens), language);
     }
docs: Creates a document from the given tokens. The language parameter controls how the content of the documents is
  created. If the language has whitespace tokens are joined with a single space between them, otherwise no space is
  inserted between tokens.
  
  @param tokens   the tokens making up the document
  @param language the language of the document
  @return the document with tokens provided.