get_character_ngram_distribution

lexnlp.nlp.en.transforms.characters.get_character_ngram_distribution(text, n, lowercase=False, stopword=False)

Get character distribution of text, potentially lowercasing and stopwording first. N.B. This method does not include or count whitespace.

Parameters
  • text –

  • lowercase –

  • stopword –

Returns