Learn R Programming

x.ent (version 1.1.7)

xparse: 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.

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

Details

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

See Also

xshow display results

Examples

Run this code
  xparse()

Run the code above in your browser using DataLab