Learn R Programming

x.ent (version 1.1.7)

xshow: Show results

Description

Show results after calling the function xparse.

Usage

xshow(e=NULL,sort="a")

Arguments

e
an entity or a list of entities that you want display, default e = NULL => display all columns
sort
type sort of data, default sort = "a" => sorted by alphabet, sort = "f" => sorted by frequency.

Details

Show results after calling function xparse. The result file has format:
  1. entity file1:entity1:$:data1:data2:data3:
  2. relation file1:entity1:entity2:$$:data_e1:data_e2:negation

See Also

xparse call the main function of module extraction written by Perl xshow display results

Examples

Run this code
  xfile() #show all names of files in corpus
  xshow() #all columns
  xshow(e="p",sort="a") #show result of entity "p", sorted by alphabet
  xshow(e="p",sort="f")
  xshow(e=c("p","m"))

Run the code above in your browser using DataLab