Commit Graph

332 Commits

Author SHA1 Message Date
MosesAdmin
9039e49d9c daily automatic beautifier 2016-02-17 00:00:37 +00:00
Matthias Huck
3c041e80a3 minor code simplification of phrase-based extractor 2016-02-16 21:54:14 +00:00
MosesAdmin
ca5178b684 daily automatic beautifier 2016-02-13 00:02:04 +00:00
Matthias Huck
1659d6b4c8 Option for target constituent constrained phrase extraction. TargetConstituentAdjacencyFeature. 2016-02-12 17:46:57 +00:00
MosesAdmin
114ed0133e daily automatic beautifier 2016-02-04 00:00:42 +00:00
Matthias Huck
5de88ec1a4 single word heuristic for phrase extraction,
and minor modification of SentenceAlignmentWithSyntax constructor
2016-02-03 21:35:26 +00:00
Matthias Huck
885b8b33a1 preparing extraction of Hiero soft syntactic preferences (target syntax) 2016-01-11 20:04:32 +00:00
MosesAdmin
4825b9e08a daily automatic beautifier 2016-01-10 00:00:35 +00:00
Matthias Huck
1d3feba8d0 preparing extraction of Hiero soft syntactic preferences (target syntax) 2016-01-09 23:02:31 +00:00
Matthias Huck
dda3f1867c Hiero phrase orientation 2016-01-06 18:52:14 +00:00
Matthias Huck
b0c208cdf8 Hiero phrase orientation bug fix 2015-12-14 19:19:51 +00:00
MosesAdmin
739165c2b0 daily automatic beautifier 2015-12-11 00:00:33 +00:00
Matthias Huck
a950605795 Hiero phrase orientation: write phrase property to glue grammar 2015-12-10 14:02:51 +00:00
Matthias Huck
5522e4b36e Hiero phrase orientation 2015-12-10 13:03:20 +00:00
Matthias Huck
bd3f573452 Hiero phrase orientation 2015-12-10 12:56:37 +00:00
MosesAdmin
0804f69776 daily automatic beautifier 2015-11-05 00:00:36 +00:00
Ulrich Germann
3ad35a72ec Missing parameter initialization; parentheses around bool assignments subsequently used as condition. 2015-11-04 17:21:14 +00:00
Ulrich Germann
89401944f8 Merge branch 'master' of https://github.com/moses-smt/mosesdecoder 2015-10-23 20:36:00 +01:00
nicolabertoldi
415596d711 disable unused function problematic for compilation without cxx11 2015-10-05 10:42:19 +02:00
Phil Williams
3c86649e34 Fix bug in STSG rule scoring 2015-09-25 12:11:23 +01:00
Matthias Huck
9fd0486815 score-main: Seems like the list container is causing substantial efficiency issues.
Phrase scoring apparently takes hours longer in some cases. Switch back to vector.
2015-08-29 04:48:09 +01:00
Hieu Hoang
e0d2af268c eclipse 2015-08-11 13:10:38 +04:00
U-DESKTOP-ONHNTIV\hieuh
626a53e7df compile error on 4.9.3 on cygwin 2015-08-05 18:15:09 +01:00
MosesAdmin
b64af59af6 daily automatic beautifier 2015-07-25 00:00:40 +01:00
Matthias Huck
21aaec0105 Removed some duplicate code.
Can we move all or parts of moses/Util to util/, and
from the Moses namespace to the util namespace?

There's quite some common functionality in it that is not only relevant
to the decoder, but also to phrase extraction and possibly other parts
of the toolkit.
2015-07-24 21:01:13 +01:00
Matthias Huck
472529ade8 Moses::Scan too inefficient 2015-07-24 20:43:29 +01:00
Matthias Huck
9e31bced9a MinCount parameter in score-main 2015-07-24 19:42:15 +01:00
Philipp Koehn
93238fa319 directly write gzipped file 2015-07-20 11:46:07 -04:00
Phil Williams
c1142741a1 relax-parse: write node attributes to output 2015-07-17 14:11:56 +01:00
Jeroen Vermeulen
0ca2bcb28d End line after printing progress dots to stderr. 2015-07-16 15:51:16 +07:00
Phil Williams
e7228ec9fb extract-ghkm: minor refactoring 2015-07-06 14:41:34 +01:00
Phil Williams
44372d7787 extract-ghkm: fix a couple of exception-related issues 2015-07-06 12:05:41 +01:00
hieu
81f337bcd8 rollback c++11 for now 2015-07-01 09:42:07 +04:00
MosesAdmin
fba4a3e24d daily automatic beautifier 2015-06-29 00:00:54 +01:00
Hieu Hoang
f7c3d00824 more testing of c++11 waters 2015-06-28 22:20:42 +04:00
Phil Williams
90470e878d Fix some C++11-related compilation errors (clang) 2015-06-19 15:58:14 +01:00
MosesAdmin
f29f67710e daily automatic beautifier 2015-06-18 00:00:39 +01:00
Hieu Hoang
7031992caa use c++11 unordered set code 2015-06-17 11:42:46 +04:00
Hieu Hoang
80f0f71d03 Revert "1st casualty of c++11. clang 2.6 (latest c++ compiler on osx) doesn't support list of object init"
This reverts commit 42c5424c86.
2015-06-17 11:25:27 +04:00
Hieu Hoang
42c5424c86 1st casualty of c++11. clang 2.6 (latest c++ compiler on osx) doesn't support list of object init 2015-06-17 10:58:47 +04:00
MosesAdmin
2a798c0b9f daily automatic beautifier 2015-06-17 00:00:42 +01:00
Rico Sennrich
6c0f875385 testing the waters for c++11
please adjust your compiler options or complain if you rely on a compiler that doesn't support c++11 yet.
2015-06-16 16:43:03 +01:00
MosesAdmin
89c2df558c daily automatic beautifier 2015-06-14 00:00:44 +01:00
Jeroen Vermeulen
bd86ceffbe Check for error when opening gzfilebuf.
This replaces a segfault when a file can't be found with an exception.
Not as helpful as it could be yet, but certainly better than just
crashing.

Also, make InputFileStream constructor from path "explicit" to avoid
mistakes.
2015-06-13 21:31:53 +07:00
MosesAdmin
47c793ca46 daily automatic beautifier 2015-06-10 00:00:40 +01:00
Phil Williams
fa51da28c5 moses/phrase-extract refactoring
Final commit in this round of refactoring (which started with commit
2f735998...).  The main changes are:

  - a general storage mechanism for attribute/value pairs in XML-style
    tree / lattice input.  E.g. the "pcfg-score" and "semantic-role"
    attributes in:

     <tree label="PRP" pcfg-score="1.0" semantic-role="AGENT"> I </tree>

  - consolidation of the various near-duplicate Tree / XmlTreeParser classes
    that have accumulated over the years (my fault)

  - miscellaneous de-crufting
2015-06-09 16:50:27 +01:00
Phil Williams
c6a3d8e54a Ongoing moses/phrase-extract refactoring 2015-06-04 16:54:31 +01:00
Phil Williams
f6ddc45224 Ongoing moses/phrase-extract refactoring 2015-06-04 14:36:39 +01:00
MosesAdmin
5696a59ae4 daily automatic beautifier 2015-06-04 13:41:46 +01:00
Phil Williams
8653bd8159 Ongoing moses/phrase-extract refactoring 2015-06-03 14:20:00 +01:00