Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
voje a6cee3d459
migrated to cjvt-gitea
pirms 5 gadiem
bilateral-srl@86642e1866 added some data and updated README.md pirms 5 gadiem
data sending some pipe-breaking files pirms 5 gadiem
dockerfiles added parallel json output creation pirms 5 gadiem
parser some changes on server pirms 5 gadiem
tools Setup that SRL tagged kres pirms 5 gadiem
.gitignore parsing... pirms 5 gadiem
.gitmodules added some data and updated README.md pirms 5 gadiem
Makefile added parallel json output creation pirms 5 gadiem
README.md migrated to cjvt-gitea pirms 5 gadiem
data_format.xml msdmap.py pirms 5 gadiem

README.md

cjvt-srl-tagging

We'll be using mate-tools to perform SRL on Kres.

workspace

The tools require Java. Go to ./dockerfiles/python-java/ and run make.
You should get a docker environment, mounting this repo.

mate-tools

Check out ./tools/srl-20131216/README.md.

Scripts

Check all possible xml tags (that occur after the tag.

cat F0006347.xml.parsed.xml | grep -A 999999999999 -e '<body>' | grep -o -e '<[^" "]*' | sort | uniq

Tools

  • Parser for reading both SSJ500k 2.1 TEI xml and Kres F....xml.parsed.xml" files found in ./tools/parser/parser.py.
  • fillpred_model for creating a yes/no model for preditcing the predicate (based on ssj500k data).

Usage

$ cd ./dockerfiles/python-java`
$ make
# you should be inside a container now
$ cd ./cjvt-srl-tagging
$ make

If you want to run it on a server overnight, you might want to use nohup, so you can close the ssh connection without closing the process.

$ nohup make &

See progress in generated logfile (check git root).

Makefile

The Makefile follows certain steps:

  1. Create a fillpred model.
  2. Parse .xml files and create .tsv files.
  3. Run mate-tools srl-tagger on the created .tsv files.

Sources