diff options
author | Chris Dyer <cdyer@cab.ark.cs.cmu.edu> | 2012-10-11 23:13:12 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cab.ark.cs.cmu.edu> | 2012-10-11 23:13:12 -0400 |
commit | 070d51e5554cc9840d97556d04bfa64a3d60b38c (patch) | |
tree | 47523b625a341baa4faf40fdc8a65a26e279d2a7 /example_extff/README.md | |
parent | 05ca9a263291f1ce48b09689d10199a68e7ea3b3 (diff) |
example external feature function
Diffstat (limited to 'example_extff/README.md')
-rw-r--r-- | example_extff/README.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/example_extff/README.md b/example_extff/README.md new file mode 100644 index 00000000..f2aba487 --- /dev/null +++ b/example_extff/README.md @@ -0,0 +1,8 @@ +This is an example of an _external_ feature function which is loaded as a dynamically linked library at run time to compute feature functions over derivations in a hypergraph. To load feature external feature functions, you can specify them in your `cdec.ini` configuration file as follows: + + feature_function=External /path/to/libmy_feature.so + +Any extra options are passed to the external library. + +*Note*: the build system uses [GNU Libtool](http://www.gnu.org/software/libtool/) to create the shared library. This may be placed in a hidden directory called `./libs`. + |