Korean Sentence Analyser v0.2.1 Modifier View Source

A modifier changes, clarifies, qualifies, or limits a particular word in a sentence in order to add emphasis, explanation, or detail.

For example in 한표 (one ticket), 한 is the modifier, 표 is the noun

Link to this section Summary

Functions

Find if the word is a modifier

Remove the modifier from a word

Link to this section Functions

Find if the word is a modifier

iex> Modifier.find("세개")
[
  %{"specific_type" => "Modifier", "token" => "세", "type" => "Modifier"},
  %{"specific_type" => "Noun", "token" => "개", "type" => "Noun"}
]

Remove the modifier from a word