æ¦è¦ å½¢æ ç´ è§£æãã¦ããã¹ãã®ä¸ããåè©ã£ã½ãã¨ããã ããæãåºãããï¼ã£ã¦ã®ã¯ãããã話ã ã¨æãã®ã§ããï¼åç´ã«ããã¨ããããæ··ãã£ã¦ã¾ãï¼ ( '-`).oO( ããããæãåºãã¦ãã®ã¯åè©ã®å½¢æ ç´ ã§ãã£ã¦ï¼åè©å¥ãããªããããªã»ã»ã»ï¼ åè©ãæãåºã kagome ã®åç´ãªãµã³ãã« package main import ( "fmt" "github.com/ikawaha/kagome/tokenizer" ) func main() { t := tokenizer.New() tokens := t.Tokenize("寿å¸ãé£ã¹ããã") for _, token := range tokens { if token.Pos() == "åè©" { fmt.Printf("%s\n", token.Surface) } } } output $ go run main.go
{{#tags}}- {{label}}
{{/tags}}