pos: POS tagging by mecab-ko

Description Usage Arguments Details Value Examples

View source: R/pos.R

Description

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

Usage

1
pos(phrase, join = TRUE)

Arguments

phrase

Character vector.

join

Boolean.

Details

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

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.

Examples

1
2
3
4
5
## Not run: 
pos(c("Some Korean Phrases"))
pos(c("Some Korean Phrases"), join=FALSE)

## End(Not run)

RmecabKo documentation built on Feb. 13, 2018, 5:02 p.m.