summaryrefslogtreecommitdiff
path: root/decoder/ff_const_reorder.h
diff options
context:
space:
mode:
authorWu, Ke <wuke@cs.umd.edu>2014-10-10 17:30:46 -0400
committerWu, Ke <wuke@cs.umd.edu>2014-10-10 17:30:46 -0400
commitd4d2d2a98629c6358e90b0323712a333e6e8aaef (patch)
treefe61d063860d4c43de1b9dac7a575847db566414 /decoder/ff_const_reorder.h
parentb5f2aa9822550a9cf39ac6fe143f0cec5e2cf40d (diff)
Top-level documentation for ConstReorderFeature
Diffstat (limited to 'decoder/ff_const_reorder.h')
-rw-r--r--decoder/ff_const_reorder.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/decoder/ff_const_reorder.h b/decoder/ff_const_reorder.h
index 6ed35768..5079486f 100644
--- a/decoder/ff_const_reorder.h
+++ b/decoder/ff_const_reorder.h
@@ -13,9 +13,16 @@
struct ConstReorderFeatureImpl;
+// Soft reordering constraint features from
+// http://www.aclweb.org/anthology/P14-1106. To train the classifers,
+// use utils/const_reorder_model_trainer for constituency reordering
+// constraints and utils/argument_reorder_model_trainer for SRL
+// reordering constraints.
+//
+// Input segments should provide path to parse tree (resp. SRL parse)
+// as "parse" (resp. "srl") properties.
class ConstReorderFeature : public FeatureFunction {
public:
- // param = "filename n"
ConstReorderFeature(const std::string& param);
~ConstReorderFeature();
static std::string usage(bool param, bool verbose);