New answers tagged

1 vote

Regex for segmentation as sentences for Thai, Khmer, Japanese, Chinese Simplified, Chinese Traditional and Amharic languages

Here's one for Japanese to get you started: [^!?。]*[!?。] You didn't specify a language, but here's a Python implementation for reference: import nltk text = "奥行きも幅も数百メートル、最深85メートルの巨大なすり鉢状の大穴が、...
user avatar
  • 111

Top 50 recent answers are included