LoginSignup
3
1

More than 5 years have passed since last update.

Mecabのメソッドって何があるの?

Posted at

日本語の形態素解析なのに、英語しか見当たらないので日本語でメモしておく。

String getSurface() 分かちがいた単語の表記形
int getLength() 文字の長さ
int getStart() 文章の中の開始位置
boolean isSentenceStart() 文章中でも 区切りとしての開始位置であるかどうか

getMorpheme()
String getPartOfSpeech() 品詞 partOfSpeech - The Chasen-format part-of-speech
String getConjugationalType () 活用型 conjugationalType - The conjugational type
String getConjugationalForm() 活用形 conjugationalForm - The conjugational form
String getBasicForm() 原形 basicForm - The unconjugated form
String getReadings() 読み readings - The readings
String getPronunciations () 発音 pronunciations - The pronunciations
String getAdditionalInformation () 追加の情報 additionalInformation - Arbitrary additional information

morpheme モーフィム 怪獣の名前ぽいが、形態素のこと

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1