R: Annotation Utilities

utils {NLP} | R Documentation

## Annotation Utilities

### Description

Utilities for creating annotation objects.

### Usage

    next_id(id)
    single_feature(value, tag)

### Arguments

`id` | an integer vector of annotation ids.
`value` | an R object.
`tag` | a character string.

### Details

`next_id()` obtains the next “available” id based on the given annotation ids (one more than the maximal non-missing id).

`single_feature()` creates a single feature from the given value and tag (i.e., a named list with the value named by the tag).

[Package NLP version 0.1-10 Index]