我使用OpenNLP java将字符串转换为令牌。但是,我发现圆括号不能被正确识别。 我使用的代码: ` InputStream is = new FileInputStream("en-token.bin");
TokenizerModel model = new TokenizerModel(is);
Tokenizer tokenizer = new TokenizerME(model)
我想修改我的文字是这样的: arr = []
# arr is full of tokenized words from my text
例如: "Abraham Lincoln Hotel is very beautiful place and i want to go there with
Barbara Palvin. Also there are stores like Adida