Garugi, an online Korean morphological analyzer: how it works

What gets split, how to read the result, in order.

What is morphological analysis

A morpheme is the smallest piece of a word that carries meaning. Morphological analysis splits each Korean word into those pieces and tags each one.

For example 먹었다 splits into 먹 (verb), 었 (pre-final ending) and 다 (final ending). 밥을 is 밥 (noun) plus 을 (object particle).

It is the first step in Korean study, text analysis, keyword extraction and NLP.

Engine and data

The engine is the open-source garu. It is built as WebAssembly, so it runs inside your browser. The engine file is about 0.45 MB and the model about 1.3 MB.

That is why nothing is analyzed on a server. After the engine downloads once, your text does not leave the device.

The tag set is the Sejong part-of-speech tags. Sources and licenses are listed at the bottom of the home page.

Reading the tags

NNG is a common noun, NNP a proper noun, NP a pronoun. VV is a verb and VA an adjective.

JKS, JKO and JKB are subject, object and adverbial particles. JX is an auxiliary particle (은, 는, 도).

EP is a pre-final ending (었, 겠), EF a final ending (다, 요) and EC a connective ending (고, 서).

Below each result you get a legend with only the tags that appeared.

How to use it

Paste your text and press Analyze. The first run can take a few seconds while the engine downloads.

Each word shows its morphemes and tags. Copy table puts a tab-separated table on your clipboard, ready to paste into a spreadsheet.

For long text you can open a .txt file. It is read on this device only.

Spacing restore and noun counts

Text without spaces confuses the analysis. Turn on restore to add spaces before analyzing.

Restore is conservative. Where it is unsure, it leaves the text joined. The restored text is shown above the result.

The noun count covers common and proper nouns only. It lists them from most to least frequent.

Text it gets wrong

Spoken style, new slang and consonant-only text (ㅋㅋ) go wrong more often. Proper nouns missing from the dictionary can be split apart.

Text like 아버지가방에들어가신다 reads two ways depending on spacing. The engine picks only one.

If you need the exact answer, treat the result as a hint and check it yourself.