checktags: Check OpenNLP Tags

Description Usage Arguments Examples

Description

Check OpenNLP Tags

Usage

1
2
3

Arguments

file

Full path to file containing tagged sentences, ussually a .txt file.

tag

Tagged character vector.

Examples

1
2
3
4
5
6
7
## Not run: 
data <- 'some sentence with some "<START:tag> erroneous tag <END>." And <START:tag> here also<END>.'

# corrected tags
data <- check_tags(data)

## End(Not run)

news-r/decipher documentation built on July 19, 2019, 5:58 p.m.