Korean Sentence Analyser v0.2.3 KoreanSentenceAnalyser View Source

Analyse Korean sentences, and get information about the words in the sentence (is it a noun? a verb? etc). Takes into account typo's and grammar structures.

Link to this section Summary

Functions

Analyse a Korean sentence

Link to this section Functions

Link to this function

analyse_sentence(sentence) View Source

Analyse a Korean sentence

iex> KoreanSentenceAnalyser.analyse_sentence("한국은 동아시아의 한반도에 위치하고 있다")
[
  %{"specific_type" => "Noun", "token" => "한국", "type" => "Noun"},
  %{"specific_type" => "Wikipedia title noun","token" => "동아시아","type" => "Noun"},
  %{"specific_type" => "Entities", "token" => "한반도", "type" => "Noun"},
  %{"specific_type" => "Noun", "token" => "위치", "type" => "Noun"},
  %{"specific_type" => "Adjective", "token" => "있다", "type" => "Adjective"}
]