def METHOD_NAME():
    t = analysis.tokenizer("trigram", "nGram", min_gram=3, max_gram=3)
    assert t.to_dict() == "trigram"
    assert {"type": "nGram", "min_gram": 3, "max_gram": 3} == t.get_definition()