Korean Sentence Analyser v0.2.3 Substantive View Source
A substantive can be a given name, or a family name
Link to this section Summary
Functions
Find if the word is a family name
Find if the word is a substantive
Find if the word is a substantive, removing any Josa (grammar) attached to the word
Find if the word is a given name
Link to this section Functions
Link to this function
family_name(word, option \\ nil) View Source
Find if the word is a family name
iex> Substantive.family_name("박")
%{"specific_type" => "Family name", "token" => "박", "type" => "Substantive"}
Link to this function
find(word) View Source
Find if the word is a substantive
iex> Substantive.find("경수")
%{"specific_type" => "Given name", "token" => "경수", "type" => "Substantive"}
Link to this function
find_without_josa(word) View Source
Find if the word is a substantive, removing any Josa (grammar) attached to the word
Link to this function
given_name(word, option \\ nil) View Source
Find if the word is a given name
iex> Substantive.given_name("경수")
%{"specific_type" => "Given name", "token" => "경수", "type" => "Substantive"}