Commit Graph

465 Commits

Author SHA1 Message Date
Hieu Hoang
f04ec4c56d 1. remove all code for MetaFeature from mira.
2. in ShowWeights(), all print out dense feature weights. Don't print 'sparse' for sparse feature functions. All features functions can contains dense and sparse
2013-05-16 19:05:08 +01:00
Hieu Hoang
0f75865faa 1. Get rid of GetSparseFeatureReporting(). Always report detailed sparse features, if they exist.
2. Name sparse features properly in class WordTranslationFeature
2013-05-15 11:37:21 +01:00
Hieu Hoang
981351758a delete class TranslationSystem 2013-05-11 14:13:26 +01:00
Hieu Hoang
4890e4673a get rid of FeatureFunction::unlimited. Every ff can have sparse AND dense features 2013-05-08 15:34:56 +01:00
Hieu Hoang
0425083c12 use GetWeightedScore() instead of InnerProduct(...) 2013-05-02 10:30:20 +01:00
Hieu Hoang
4894df6494 merge 2013-04-29 19:04:00 +01:00
Lane Schwartz
ef3d30146a Re-enabled commented out code.
Hopefully this commit will now compile on all versions of Boost.
2013-04-29 12:24:44 -04:00
Christian Buck
046e031723 Merge branch 'master' of git://github.com/moses-smt/mosesdecoder 2013-04-20 20:33:16 +01:00
Hieu Hoang
b1da4dbe0e merged 2013-04-19 15:03:34 +01:00
Barry Haddow
a8fe122e4b Merge branch 'master' of github.com:moses-smt/mosesdecoder 2013-04-19 08:35:01 +01:00
Hieu Hoang
9749ca5fd9 Fixed blank lines when using -print-alignment-info 2013-04-18 16:38:52 +01:00
Christian Buck
464b752128 Merge branch 'master' of git://github.com/moses-smt/mosesdecoder 2013-04-12 19:44:02 +01:00
Christian Buck
9c2c6c603b typo 2013-04-12 19:39:04 +01:00
Barry Haddow
c6e36f4dd7 Fix compile error 2013-04-12 16:29:52 +01:00
Hieu Hoang
44a0e52e30 fixed ShowWeights() for confusion networks. This is a reason why we should get rid of ShortNames and move to refactored moses pdq 2013-04-09 14:44:32 +01:00
Hieu Hoang
72aa0a80bd Merge github.com:moses-smt/mosesdecoder into weight-new 2013-03-25 13:51:47 +00:00
Joan Puigcerver
4a954f2be7 Fixes compilation error using libboost_1_50
Problem spotted in https://github.com/moses-smt/mosesdecoder/issues/32 
fixed.

According to the Boost doc, nbestPath.parent_path().filename() 
returns a path object, to get the correspondent std::string 
representation, one must call one of the methods listed in:
http://www.boost.org/doc/libs/1_53_0/libs/filesystem/doc/reference.html#path-native-format-observers

native() is supposed to return the path in the specific OS
path format (using backslashes for Windows). Anyway, since we 
are considering only the filename here, the result is the same.
2013-03-24 20:01:59 +01:00
Hieu Hoang
fd4e954322 merge 2013-03-24 09:57:36 +00:00
Hieu Hoang
db005f6503 compile error caused by different versions of boost 2013-03-23 15:58:07 +00:00
Lane Schwartz
3a4e63c558 Ensure directory exists for outputting hypergraphs 2013-03-22 12:14:28 -04:00
Lane Schwartz
b2bba0bae3 Work on compression and defaults for outputting hypergraphs. 2013-03-21 16:48:47 -04:00
Lane Schwartz
28c980d58e Allow hypergraph output to be in plain text, gzip, or bzip2.
The output-search-graph-hypergraph flag now takes two params:

* The first param must be "none", "gzip", or "bzip2"
* The second param is the hypergraph directory,
  which must already exist
2013-03-21 15:19:31 -04:00
Lane Schwartz
22c77f7331 Work on decreasing memory requirement for outputting hypergraph 2013-03-21 12:17:49 -04:00
Hieu Hoang
7888c7ba23 eclipse project files 2013-03-15 22:02:00 +00:00
Hieu Hoang
2d252d2dd0 memory leak 2013-03-15 16:11:15 +00:00
Hieu Hoang
3da09b921c memory leak 2013-03-15 12:30:39 +00:00
Hieu Hoang
cedb41be2a change : back to = 2013-03-14 19:06:01 +00:00
Hieu Hoang
ca43a88bd2 change feature weight delimiter from = to : 2013-03-13 18:26:24 +00:00
Hieu Hoang
2f78fe5fe5 Merge github.com:moses-smt/mosesdecoder into weight-new 2013-03-13 17:54:03 +00:00
Hieu Hoang
21c51194fa add -print-alignment-info 2013-03-13 12:12:33 +00:00
Hieu Hoang
35bffae402 Merge github.com:moses-smt/mosesdecoder into weight-new 2013-03-04 18:19:28 +00:00
Lane Schwartz
ec69acf3d4 Don't open all hypergraph output files at once. 2013-03-04 12:07:37 -05:00
Lane Schwartz
8573a66da0 Close hypergraph output files. 2013-03-04 09:15:46 -05:00
Hieu Hoang
bcecfe55db merge with Lane's search graph output 2013-02-24 00:31:29 +00:00
Hieu Hoang
30e0d1e0fa Merge github.com:moses-smt/mosesdecoder into weight-new 2013-02-22 22:39:24 +00:00
Lane Schwartz
4adeb7e338 Output feature weights to a separate file when producing hypergraph 2013-02-22 16:28:48 -05:00
Lane Schwartz
04f107fbb0 Add flag to output search graph in Kenneth's hypergraph format. 2013-02-22 16:28:48 -05:00
Lane Schwartz
774ed64f2e Work to allow output search graph in HTK standard lattice format 2013-02-22 16:28:47 -05:00
Hieu Hoang
01af82310b delete ScoreProducer 2013-02-21 20:03:35 +00:00
Hieu Hoang
ebd7b85aa6 Merge github.com:moses-smt/mosesdecoder into weight-new 2013-02-20 10:11:21 +00:00
Lane Schwartz
2e6b5e7a23 Merge branch 'master' of www:/repos/git/Decoders/mosesdecoder 2013-02-14 12:03:35 -05:00
Lane Schwartz
f9a46adc31 Specify -start-translation-id to tell Moses the line number of the first sentence 2013-02-13 15:52:40 -05:00
Hieu Hoang
f00d781c37 merge with master 2013-02-13 14:17:20 +00:00
Hieu Hoang
1a8cd20b51 -print-id for christian buck and phi 2013-02-11 18:01:33 +00:00
Hieu Hoang
6885e04b42 move feature function variables into FeatureFunction.h 2012-12-31 00:57:21 +00:00
Hieu Hoang
efbc8bb6c4 move language model from TranslationSystem back to StaticData 2012-12-20 16:38:15 +00:00
Hieu Hoang
c2d9d84ba0 move feature function variables from TranslationSystem back to StaticData 2012-12-19 14:37:00 +00:00
Hieu Hoang
667b8a495f decoder -show-weight to output consistent new format 2012-12-17 17:17:44 +00:00
hieu
05045d574c don't display unknown weight penalty when showing weight, don't usually tune. Also, change delimiter in mert extractor from : to = 2012-12-16 18:29:53 +00:00
hieu
57b33f40cf don't display unknown weight penalty when showing weight. Don't usually tune 2012-12-15 19:20:07 +00:00