Korean Sentence Analyser v0.4.0 Ksa View Source
Analyse Korean text
Link to this section Summary
Functions
Analyse a sentence
Analyse a sentence and give verbose output
Analyse a sentence and return it's type
Link to this section Functions
Analyse a sentence
iex> Ksa.analyse("저는 공부하느라고 청소를 못 했어요")
[
%{"공부하느라고" => "공부"},
%{"못" => "못"},
%{"저는" => "저"},
%{"청소를" => "청소"},
%{"했어요" => "하다"}
]
Analyse a sentence and give verbose output
You need to create your own filter
Analyse a sentence and return it's type
iex> Ksa.analyse_with_type("저는 공부하느라고 청소를 못 했어요")
[
%{"공부하느라고" => {"noun", "공부"}},
%{"못" => {"noun", "못"}},
%{"저는" => {"noun", "저"}},
%{"청소를" => {"noun", "청소"}},
%{"했어요" => {"verb", "하다"}}
]