get_token_distribution

lexnlp.nlp.en.transforms.tokens.get_token_distribution(text: str, lowercase=False, stopword=False) → Dict[str, int]

Get token distribution of text, potentially lowercasing and stopwording first.