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
- Host: GitHub
- URL: https://github.com/doches/fdl
- Owner: doches
- Created: 2008-09-23T17:24:04.000Z (almost 18 years ago)
- Default Branch: master
- Last Pushed: 2008-10-20T12:55:26.000Z (almost 18 years ago)
- Last Synced: 2025-02-09T00:17:46.985Z (over 1 year ago)
- Language: Ruby
- Homepage: http://apartmentland.net/~doches/fdl
- Size: 148 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
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.