Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IWord

Hierarchy

Index

Properties

Readonly charCount

charCount: number

Readonly children

children: IChar[]
inheritdoc

Readonly countDown

countDown: number

カウントダウン(カウントダウンの場合は 0 以上の数値)

Readonly countUp

countUp: number

カウントアップ(カウントアップの場合は 0 以上の数値)

Readonly duration

duration: number

描画ユニットの長さ [ms] / Duration of this rendering unit [ms]

endTime

endTime: number

Readonly firstChar

firstChar: IChar

Readonly initialCount

initialCount: number

カウントダウン、カウントアップの初期値

Readonly language

language: string

言語(en: 英語、ja: 日本語)

Readonly lastChar

lastChar: IChar

Readonly next

next: IWord
inheritdoc

Readonly parent

parent: IPhrase
inheritdoc

Readonly pos

pos: string

品詞

Part-of-speech

  • N: 名詞 (Noun)
  • PN: 代名詞 (ProNoun)
  • V: 動詞 (Verb)
  • R: 副詞 (adveRb)
  • J: 形容詞 (adJective)
  • A: 連体詞 (Adnominal adjective)
  • P: 助詞 (Particle)
  • M: 助動詞 (Modal)
  • W: 疑問詞 (Wh)
  • D: 冠詞 (Determiner)
  • I: 接続詞 (conjunction)
  • U: 感動詞 (Interjection)
  • F: 接頭詞 (preFix)
  • S: 記号 (Symbol)
  • X: その他 (other)

Readonly previous

previous: IWord
inheritdoc

Readonly rawPos

rawPos: string

品詞(英語ならNLTK、日本語ならMeCabの判定結果)

Raw part-of-speech data (NLTK result for English and MeCab result for Japanese)

startTime

startTime: number

Readonly text

text: string

文字ユニットに含まれるプレーンテキスト / Plain text contained in this text unit

Methods

contains

  • contains(time: number): boolean
  • Parameters

    • time: number

    Returns boolean

findIndex

  • findIndex(unit: IChar): number
  • Parameters

    Returns number

getType

  • getType(): number
  • この描画ユニットの種類 / Type of this rendering unit

    see

    UnitTypes

    Returns number

overlaps

  • overlaps(startTime: number, endTime: number): boolean
  • Parameters

    • startTime: number
    • endTime: number

    Returns boolean

progress

  • progress(time: number): number
  • 指定された楽曲中の位置をこの描画ユニット中の位置 [0, 1] にマッピングして返す

    Returns the position in this rendering unit [0, 1]

    Parameters

    • time: number

      楽曲中の位置 / Position in a song

    Returns number

toString

  • toString(): string
  • この描画ユニットの文字表現 / String representation of this rendering unit

    Returns string

Generated using TypeDoc