class Cadmium::SentenceTokenizer

Defined in:

cadmium/tokenizer/sentence_tokenizer.cr

Constant Summary

REGEX_PATTERN = /([\"\'\‘\“\'\"\[\(\{\⟨][^\.\?\!]+[\.\?\!][\"\'\’\”\'\"\]\)\}\⟩]|[^\.\?\!]+[\.\?\!])\s?/

Instance Method Summary

Instance methods inherited from class Cadmium::Tokenizer

tokenize(string : String) : Array(String) tokenize, trim(arr) trim

Instance Method Detail

def tokenize(string : String) : Array(String) #

[View source]