diff options
Diffstat (limited to 'decoder/hg.cc')
-rw-r--r-- | decoder/hg.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/decoder/hg.cc b/decoder/hg.cc index 4da0beb3..e57f7807 100644 --- a/decoder/hg.cc +++ b/decoder/hg.cc @@ -1,3 +1,5 @@ +//TODO: lazily generate feature vectors for hyperarcs (because some of them will be pruned). this means 1) storing ref to rule for those features 2) providing ff interface for regenerating its feature vector from hyperedge+states and probably 3) still caching feat. vect on hyperedge once it's been generated. ff would normally just contribute its weighted score and result state, not component features. + #include "hg.h" #include <algorithm> |