I'm trying to split a sentence into words using Stanford coreNLP .
I'm having problem with words that contains apostrophe.
For example, the sentence:
I'm 24 years old.
Splits like this:
[I] ['m] [24] [years] [old]
Is it possible to split it like this using Stanford coreNLP?:
[I'm] [24] [years] [old]
I've tried using tokenize.whitespace, but it doesn't split on other punctuation marks like: '?' and ','
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…