Learn R Programming

koRpus (version 0.05-6)

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)

## S3 method for class 'kRp.taggedText': taggedText(obj)

taggedText(obj) <- value

## S3 method for class 'kRp.taggedText': taggedText(obj) <- value

describe(obj)

## S3 method for class 'kRp.taggedText': describe(obj)

describe(obj) <- value

## S3 method for class 'kRp.taggedText': describe(obj) <- value

## S3 method for class 'kRp.hyphen': describe(obj)

## S3 method for class 'kRp.hyphen': describe(obj) <- value

language(obj)

## S3 method for class 'kRp.taggedText': language(obj)

language(obj) <- value

## S3 method for class 'kRp.taggedText': language(obj) <- value

## S3 method for class 'kRp.hyphen': language(obj)

## S3 method for class 'kRp.hyphen': language(obj) <- value

is.taggedText(obj)

hyphenText(obj)

## S3 method for class 'kRp.hyphen': hyphenText(obj)

hyphenText(obj) <- value

## S3 method for class 'kRp.hyphen': 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
taggedText(tagged.txt)

Run the code above in your browser using DataLab