budoux
Types
Values
pub fn ja_word() -> Parser
Creates a parser with the Japanese word model. It splits sentences into words rather than phrases.
pub fn parse(parser: Parser, sentence: String) -> List(String)
Splits a sentence into phrases.
let parser = budoux.ja()
budoux.parse(parser, "今日は天気です。")
// -> ["今日は", "天気です。"]