Learn R Programming

RmecabKo (version 0.1.6.2)

pos: POS tagging by mecab-ko

Description

pos returns part-of-speech (POS) tagged morpheme of Korean phrases.

Usage

pos(phrase, join = TRUE)

Arguments

phrase

Character vector.

join

Boolean.

Value

List of POS tagged morpheme will be returned in conjoined character vecter form. Element name of the list are original phrases. If join=FALSE, it returns list of morpheme with named with tags.

See examples in Github.

Details

This is a basic function of part-of-speech tagging by mecab-ko.

Examples

Run this code
# NOT RUN {
pos(c("Some Korean Phrases"))
pos(c("Some Korean Phrases"), join=FALSE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab