Learn R Programming

koRpus (version 0.06-5)

taggedText: Getter/setter methods for koRpus objects

Description

These methods should be used to get or set values of tagged text objects generated by koRpus functions like treetag() or tokenize().

Usage

taggedText(obj)
"taggedText"(obj)
taggedText(obj) <- value
"taggedText"(obj) <- value
describe(obj)
"describe"(obj)
describe(obj) <- value
"describe"(obj) <- value
"describe"(obj)
"describe"(obj) <- value
language(obj)
"language"(obj)
language(obj) <- value
"language"(obj) <- value
"language"(obj)
"language"(obj) <- value
is.taggedText(obj)
hyphenText(obj)
"hyphenText"(obj)
hyphenText(obj) <- value
"hyphenText"(obj) <- value

Arguments

obj
An arbitrary R object.
value
The new value to replace the current with.

Details

  • taggedText() returns the TT.res slot.
  • describe() returns the desc slot.
  • language() returns the lang slot.
  • hyphenText() returns the hyphen slot from objects of class kRp.hyphen.

Examples

Run this code
## Not run: 
# taggedText(tagged.txt)
# ## End(Not run)

Run the code above in your browser using DataLab