Skip to content

dkmfbk/NAFtoTXP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library to convert a NAF files in columns for TempRelPro, TimePro, EventPro.

In order to use NAFtoTXP we need the kaflib library v1.1.9 or highest, jdom v2.0.5, yamcha and tinysvm and a repository tools/ containing:

Usage for creating training files for TempRel:

cat NAF_in_file | java -cp lib/kaflib-naf-1.1.9.jar:lib/jdom-2.0.5.jar:lib/NAFtoTXP_v11.jar eu.fbk.newsreader.naf.NAFtoTXP_v11 TXP_out_file TML_ref_file chunk+entity+event_ref+timex_ref+connectives+srl+dep+morpho+dct+main_verb+tlink_ref train

Usage for creating testing files for TempRel:

cat NAF_in_file | java -cp lib/kaflib-naf-1.1.9.jar:lib/jdom-2.0.5.jar:lib/NAFtoTXP_v11.jar eu.fbk.newsreader.naf.NAFtoTXP_v11 TXP_out_file chunk+entity+event+timex+connectives+srl+dep+morpho+coevent+dct+main_verb+pairs eval

Usage for adding new tlink/clink into the NAF file:

java -Dfile.encoding=UTF8 -cp lib/TXPtoNAF_v4.jar:lib/jdom-2.0.5.jar:lib/kaflib-naf-1.1.9.jar eu.fbk.newsreader.naf.TXPtoNAF_v4 $NAF output_temprel.tlinks [BEGINTIME] TLINK

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%