Commit Graph

56 Commits

Author SHA1 Message Date
Phil Williams
0bff50449e Fix -search-algorithm 8 2015-02-23 11:12:00 +00:00
Phil Williams
33df7fd2b4 Rename StaticData::IsChart() to IsSyntax() and add new SearchAlgorithm values 2015-02-12 13:03:26 +00:00
Phil Williams
ac8f01bc3d Partial merge of t2s branch (implements t2s and f2s algorithms)
Implements search algorithms 7, 8, and 9:

-search-algorithm 7
  tree-to-string (STSG-based, currently a special-case of forest-to-string)

-search-algorithm 8
  tree-to-string (SCFG-based)

-search-algorithm 9
  forest-to-string (STSG-based)
2015-02-02 17:07:54 +00:00
Phil Williams
e177131a22 Remove -s2t option (use -search-algorithm=6 instead) 2015-02-02 15:01:59 +00:00
Hieu Hoang
5244a7b607 shut up 2015-01-27 18:24:15 +00:00
Hieu Hoang
05ead45e71 beautify 2015-01-14 11:07:42 +00:00
Phil Williams
e5ebf30664 Fix a few warnings. 2015-01-13 21:13:55 +00:00
Rico Sennrich
370c5244db re-enable tree fragment reporting 2015-01-10 10:42:02 +00:00
Hieu Hoang
bb55949eef call Manager::OutputAlignment() 2015-01-10 09:56:50 +00:00
Hieu Hoang
3b3f11365d delete UserMessage. Too difficult to police 2015-01-07 10:01:10 +04:00
Hieu Hoang
cec03c949e merge RunPb and RunChart 2015-01-04 16:30:15 +05:30
Hieu Hoang
0552a79b1e consistent constructor for all managers 2015-01-03 00:10:15 +05:30
Hieu Hoang
1ff52ebb0e move OutputBest() from TranslationTask to Manager 2015-01-02 23:39:27 +05:30
Hieu Hoang
c9d49f22a5 move OutputAlignment() to Manager class 2014-12-30 20:36:59 +05:30
Hieu Hoang
ba166f109c moving more stuff out of IOWrapper 2014-12-30 18:53:30 +05:30
Hieu Hoang
b82c31f020 convert static methods to const methods 2014-12-30 08:38:33 +05:30
Hieu Hoang
5ac3dddfb6 move OutputBestHyp() to Manager class 2014-12-29 06:01:23 +05:30
Hieu Hoang
ec3db7bede move OutputLatticeMBRNBest() to Manager class 2014-12-29 05:41:06 +05:30
Hieu Hoang
2b7c16d5a4 move OutputBestSurface() to Hypothesis class 2014-12-29 02:10:57 +05:30
Hieu Hoang
cd6ec01999 move OutputBestSurface() to Hypothesis class 2014-12-29 00:48:40 +05:30
Hieu Hoang
f865e7e43c move OutputInput() to Hypothesis class 2014-12-28 22:09:38 +05:30
Hieu Hoang
af0d0f02e1 move OutputAlignment() to Hypothesis class 2014-12-28 18:37:18 +05:30
Hieu Hoang
9739b7a8a7 rename ProcessSentence() to Decode() 2014-12-26 13:11:52 +05:30
Hieu Hoang
81640945d0 move OutputBest() to ChartManager 2014-12-10 12:47:23 +00:00
Hieu Hoang
99cfba8769 move OutputBest() to Incremental::Manager 2014-12-10 11:28:47 +00:00
Hieu Hoang
4b10c59bea add OutputSearchGraphHypergraph() to API framework. Move m_source to BaseManager 2014-12-05 21:33:59 +00:00
Hieu Hoang
6a77fd0ce3 add OutputSearchGraphSLF() to API framework 2014-12-05 19:40:51 +00:00
Hieu Hoang
23ca29a2ea add Decode to API framework 2014-12-05 17:59:53 +00:00
Hieu Hoang
0d8e20980e move OutputWordGraph() and OutputSearchGraph() into Managers 2014-12-05 17:23:08 +00:00
Hieu Hoang
b23c00989b move OutputDetailedTreeFragmentsTranslationReport() to Manager 2014-12-04 18:35:19 +00:00
Hieu Hoang
3a2f58eb2c move OutputDetailedTranslationReport() to Manager 2014-12-04 16:46:14 +00:00
Hieu Hoang
c5fdb170fb move OutputUnknowns() into Managers 2014-12-04 16:25:19 +00:00
Hieu Hoang
ccbcc14ed8 move OutputDetailedTranslationReport() to Managers 2014-12-03 17:04:10 +00:00
Hieu Hoang
184e79f4d6 add OutputAlignment() to BaseManager. 2014-12-03 15:00:36 +00:00
Hieu Hoang
fb25616bdd add OutputLatticeSamples() to BaseManager. Move OutputAlignment() to ChartManager 2014-12-03 12:05:35 +00:00
Hieu Hoang
3da8415095 add OutputNBest() as abstract method to BaseManager. Tighten up framework 2014-12-02 19:09:10 +00:00
Hieu Hoang
ba7afba9f6 move n-best code for phrase-based from IOWrapper to ChartManager 2014-12-02 17:40:53 +00:00
Hieu Hoang
d0576866af move OutputLatticeSamples() for phrase-based from IOWrapper to Manager 2014-12-02 14:58:44 +00:00
Hieu Hoang
29ead5be7b move n-best code for phrase-based from IOWrapper to Manager 2014-12-02 14:38:03 +00:00
Hieu Hoang
b2c0fa097c make GetParam() a const method with no side effect 2014-11-28 18:33:45 +00:00
Hieu Hoang
da8b4b74eb make GetParam() a const method with no side effect 2014-11-28 18:29:03 +00:00
Hieu Hoang
8d15287eee added phil's functions 2014-11-08 17:36:32 +00:00
Hieu Hoang
90e4eca0a3 cleaning up IOWrapper. Make all functions member of the class 2014-10-13 12:46:58 +01:00
Hieu Hoang
d507af5b1d TranslationTaskChart --> TranslationTask 2014-10-10 13:19:02 +01:00
Hieu Hoang
bf089b56ac consistent namespace 2014-10-09 12:52:06 +01:00
Hieu Hoang
433186ae25 delete lineNumber variable from Manager and TranslationTask. It should always be carried by the input sentence itself 2014-10-07 19:16:30 +01:00
Hieu Hoang
62fe00b1a5 delete m_latticeSamplesCollector 2014-10-03 15:04:55 +01:00
Hieu Hoang
25db86d16b delete m_latticeSamplesCollector 2014-10-03 14:57:27 +01:00
Hieu Hoang
b907fb7492 merge TranslationTask and IOWrapper. Move m_wordGraphCollector into IOWrapper 2014-10-02 14:57:04 +01:00
Hieu Hoang
f8b762a6ec merge TranslationTask and IOWrapper. Move m_detailedTranslationCollector into IOWrapper 2014-10-02 14:18:12 +01:00