xparse {x.ent}R Documentation

Call script Perl for extracting data from corpus

Description

Call script Perl for extracting data from corpus. Before you run, you must configure a configuration file ini.json in the folder config as: dictionaries, graphs of grammar (Use tools Unitex for creating)...

Usage

xparse(json_path = "",verbose=FALSE)

Arguments

json_path

path of configuration file (*.json)

verbose

logical. Should R report extra information on progress? Set to TRUE by the command-line option –verbose.

Details

Input: dictionaries, grammars (build with software Unitex). Output: a result file of every entity and relation

Value

Result file includes:

comp1

data of every entity such as: file1:entity1:$:data1:data2:

comp2

data of every relation of every entity for example: file1:entity1:entity2:$$:data1:data2:1

See Also

xshow display results

Examples

  xparse()

[Package x.ent version 1.1.7 Index]