form: Parse tokenized input text

Description Usage Arguments Examples

View source: R/form.R

Description

Parse tokenized input text

Usage

1
form(x, mode, type, pos = TRUE)

Arguments

x

Input text vectors

mode

Select split mode (A, B, C)

type

return form. One of the following "surface", "dictionary", "normalized", "reading" or "part_of_speech".

pos

Include part of speech information with object name.

Examples

1
2
3
4
5
6
## Not run: 
form("Tokyo", mode = "B", type = "normalized")
form("Osaka", mode = "B", type = "surface")
form("Hokkaido", mode = "C", type = "part_of_speech")

## End(Not run)

sudachir documentation built on Nov. 10, 2020, 3:48 p.m.