An open API service indexing awesome lists of open source software.

https://github.com/doches/fdl

A Feature Description Language for Semantic Role Labeling
https://github.com/doches/fdl

Last synced: about 1 year ago
JSON representation

A Feature Description Language for Semantic Role Labeling

Awesome Lists containing this project

README

          

To generate ruby code for an FDL file, run:
tools/generate.rb [-noedit]

To test a feature extractor against Salsa/Tiger XML, run:
cat | tools/test.rb

To view the AST for an FDL feature, run:
cat | parser/parser | ./fdl2tree.rb | tools/printtree.rb

To view the parse tree for a Salsa/Tiger XML document, run:
cat | lib/xml2pt.rb

=== OLD ===

To parse a file containing FDL definitions into Ruby, run:
./fdl2tree.rb
./tree2ruby.rb
will contain the code for a Ruby object with methods to extract
each feature.