You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by le...@apache.org on 2016/11/11 10:34:05 UTC

[01/10] incubator-joshua git commit: JOSHUA-323 Joshua 6.1 Release Management

Repository: incubator-joshua
Updated Branches:
  refs/heads/master fab096327 -> 92301ef0d


JOSHUA-323 Joshua 6.1 Release Management


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/f45c3fd3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/f45c3fd3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/f45c3fd3

Branch: refs/heads/master
Commit: f45c3fd39ae74604a40046a97b98bb3154ca5ba7
Parents: fab0963
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Thu Nov 10 20:32:22 2016 -0800
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Thu Nov 10 20:32:22 2016 -0800

----------------------------------------------------------------------
 CHANGELOG  | 274 -----------------------------------------------
 CHANGES.md | 323 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 KEYS       |  98 +++++++++++++++++
 NOTICE.txt |   9 ++
 README.md  |  24 ++---
 5 files changed, 436 insertions(+), 292 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/f45c3fd3/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
deleted file mode 100644
index b73fc7f..0000000
--- a/CHANGELOG
+++ /dev/null
@@ -1,274 +0,0 @@
-6.1 (October 14, 2016)
-=========
-
-Major changes
-- Large speedups (2--3x) over Joshua 6.0.5, through better grammar
-  packing and KenLM language model queries
-- Reorganized under the Apache name
-- Moved from ant+ivy build to Maven
-- New builtin HTTP server supporting a Google-style RESTful interface
-- Simplification of phrase-based decoder implementation (not backwards compatible)
-- Now provides a cleaner API
-
-Minor changes
-- Code reorganization and cleanup
-- Better runtime handling of exceptions (removal of many spontaneous exits)
-- Moved regression tests to proper unit tests
-- Simplified logging system
-- Many bug fixes and other improvements
-- Packing of multiple grammars
-	
-6.0.5 (October 23, 2015)
-========================
-
-- KenLM updated, includes vastly improved cmake-based build
-- Fix for grammar packing that previously limited the size of grammars (esp. Hiero)
-- Support for packing and decoding with multiple packed grammars (if packed together)
-- Feature functions now report dense features, for more efficient handling
-- Added AdaGrad and internal MIRA
-- Pipeline:
-  - Alignment of different chunks now parallelized
-  - Computes meteor scores if $METEOR is defined
-  - Updated to use Hadoop 2.5.2
-  - Reworked how multiple tuning runs (for optimizer instability) function 
-- Maven compatibility
-- Developers
-  - Ant eclipse target
-  - Added code formatting spec for Eclipse import
-- Many bugfixes and other improvements
-
-6.0.4 (June 15, 2015)
-=====================
-
-- Local MIRA implementation (now the default for the pipeline; Moses' kbmira available
-  with '--tuner kbmira')
-- PRO tuning implementation restored
-- Alignment in pipeline parallelized across chunks (up to --threads)
-- Better integration for class-based LMs
-- Bugfixes in pipeline script and elsewhere
-- Logic for KenLM/lmplz boost compile improved
-
-6.0.3 (June 1, 2015)
-====================
-
-- New, more versatile run bundler for creating language packs
-- Restructuring of the pipeline. Now uses the run bundler to build models
-  for tuning and testing, and no longer directly supports multiple optimizer
-  runs
-- Split out ZMERT / PRO tuning script into run_zmert.py, to facilitate 
-  running ZMERT independently
-- Fix to ivy (dependency download tool) for offline and cached downloads
-- Other bug fixes and changes
-
-6.0.2 (April 10, 2015)
-======================
-
-- Restored compatibility with Moses 3.0 tuning regime (tuning with kbmira 
-  now requires Moses 3.0)
-- Sparse feature support in grammar file, which enables compatibility with 
-  PPDB grammars (paraphrase.org)
-- Bugfixes and other minor improvements
-
-6.0.1 (March 6, 2015)
-=====================
-
-Bugfixes:
-
-- Maximum phrase length was off by one (short)
-
-Improvements
-
-- **Phrase-table packing for Moses grammars**
-- BerkeleyLM now detects compressed files automatically
-- output-format now respected when top-n = 0 (with a subset of variables)
-- key + value format for specifying TMs
-- Better error messages and other minor improvements	
-	
-6.0 (February 4, 2015)
-======================
-
-Joshua 6.0 introduces many extensions and improvements. They include:
-
-- Phrase-based decoder
-
-  Joshua now includes an unlexicalized phrase-based decoder. It reads
-  Moses phrase tables directly. Support for training phrase-based
-  models is included in the pipeline (via callouts to Moses)
-
-- Significant speed improvements
-
-  Joshua is a lot faster (TODO: quantify). The phrase-based decoder is
-  on roughly par with Moses in terms of decoding speed: slower for
-  small beam sizes and faster for larger (above 200). GHKM decoding is
-  significantly faster as a result of the dot chart removal due to
-  Sennrich (2014).
-
-- Numerous bugfixes and other improvements
-
-  Dynamic lattice-based OOV segmenting, improved progress meters and
-  verbose output handling, support for alignments in phrase table,
-  latest KenLM (including lmplz)
-	
-5.0 (August 16, 2013)
-===================
-
-The main features of this release are described in
-
-  "Joshua 5.0: Sparser, Better, Faster, Server"
-  Matt Post, Juri Ganitkevitch, Luke Orland, Jonny Weese, Yuan Cao, and Chris Callison-Burch. 
-  ACL Workshop on Statistical Machine Translation. August, 2013.
-  www.statmt.org/wmt13/pdf/WMT26.pdf
-
-- Sparse feature implementation
-
-  Joshua now uses sparse features natively, with support for (hundreds of) thousands of
-  features and large-scale discriminative tuning via PRO (included) or kbMIRA (via Moses).
-
-- Significant performance improvements
-
-  Joshua is up to 6 times faster than the previous release. It scales to many threads
-  easily, and the packed grammar and amortized sorting virtually remove model loading times.
-
-- Added left-state LM minimization support (via KenLM)
-
-  Tests show that Joshua has parity with Moses in terms of speed and search.
-
-- Thrax 2.0
-
-  Thrax 2.0 is significantly faster, uses less disk space, and has been tested on corpora
-  of one hundred million sentence pairs.
-
-- Server
-
-  Joshua now includes a multithreaded TCP/IP server with round-robin scheduling among
-  connections.
-
-- Many, may bugfixes
-
-
-4.0 (July 2, 2012) 
-==================
-
-The main features of this release are described in 
-
-  "Joshua 4.0: Packing, PRO, and Paraphrasing."
-  Juri Ganitkevitch, Yuan Cao, Jonny Weese, Matt Post, and Chris Callison-Burch. 
-  NAACL Workshop on Statistical Machine Translation, June, 2012.
-
-They include:
-
-- Significantly improved and expanded documentation (both user and developer)
-
-  See http://joshua-decoder.org/4.0 or ./joshua-decoder.org/4.0/index.html (local mirror)
-
-- Synchronous parsing
-
-  Joshua will compute the best synchronous derivation over a pair of
-  sentences.  Pass the sentences in in the form 
-
-    source sentence ||| target sentence
-
-  and set the parameter "parse = true" (either from the config file or
-  command-line).
-
-- PRO implementation
-
-  We include an implementation of Pairwise Ranking Optimization (PRO,
-  Hopkins & May, EMNLP 2011).  It can be activated by passing "--tuner
-  pro" to the pipeline script.
-
-- Grammar packing
-
-  We include an efficient grammar representation that can be used to
-  greatly reduce the memory footprint of large grammars.
-
-- Numerous bugfixes
-
-== 3.2 (February 17, 2012) ======================================
-
-- Pop-limit pruning.
-
-  Pruning can now be specified with a single parameter "pop-limit"
-  parameter, which limits the number of pops from the cube pruning
-  candidate list at the span level.  This replaces the beam and
-  threshold pruning that was governed by four parameters (fuzz1,
-  fuzz2, relative_threshold, and max_n_rules), whose performance and
-  interaction was somewhat difficult to characterize.  The pop-limit
-  allows a simple relationship between decoding time and model score
-  to be defined.
-
-  Setting "pop-limit" in the configuration file or from the command
-  line turns off beam-and-threshold pruning, and its use is
-  recommended.  The default setting is to use a pop-limit of 100.
-
-- Multiple language model support
-
-  You can now specify an arbitrary number of language models.  See the
-  documentation in
-
-    $JOSHUA/scripts/training/templates/mert/joshua.config 
-
-  for information on how to do this.  You can also specify multiple
-  --lmfile flags to the pipeline.pl script.
-
-- Multiple optimizer + test runs (--optimizer-runs N), averaging the
-  results at the end (Clark et al., ACL 2011)
-
-- Added support for BerkeleyLM (Pauls and Klein, ACL 2011)
-
-- Support for lattice decoding (thanks to Lane Schwartz and the
-  miniSCALE 2012 team)
-
-- Pipeline script:
-
-  - Removed all external dependencies (e.g., Moses, SRILM)
-
-  - Reorganized the training data
-
-  - Permit multiple test runs with subsequent --test FILE --name NAME
-    calls to the pipeline
-
-  - GIZA++ runs are parallelized if more than one thread is permitted
-    (--threads N, N >=2 )
-
-  - Numerous bugfixes
-
-  - Hadoop cluster rollout is now a single instance (slower but
-    doesn't require error-prone server setup)
-
-- Parameters
-
-  - Joshua now dies if it encounters unknown parameters on the command
-    line or config file
-
-  - Parameters are now normalized to remove hyphens (-) and
-    underscores (_) and to flatten case, permitting you to specify any
-    of, for example, {pop-limit, popLimit, pop_limit, ...}
-
-- Lots of reorganization and purging of old code
-
-
-3.1 
-=============================
-
-- Fixed multithreading.  Use -threads N from the command line or
-  configuration file to spawn N parallel decoding threads.
-
-- Configuration file parameters can now be overridden from the command
-  line.  The format is
-
-  -parameter value
-
-  Among these must be the configuration file itself, which can be
-  referred to with -config, or -c for short.
-
-3.0
-===
-
-- Added the highly parameterizable Hadoop-based Thrax grammar
-  extractor, which extracts both Hiero and SAMT grammars.
-
-- Incorporated a black-box pipeline script at
-  $JOSHUA/scripts/training/pipeline.pl
-
-- Moved development to github.com.

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/f45c3fd3/CHANGES.md
----------------------------------------------------------------------
diff --git a/CHANGES.md b/CHANGES.md
new file mode 100644
index 0000000..97676b9
--- /dev/null
+++ b/CHANGES.md
@@ -0,0 +1,323 @@
+Apache Joshua 6.1 (Nov 10th, 2016)
+==================================
+Release Report - https://s.apache.org/joshua6.1
+
+Sub-task
+
+    [JOSHUA-301] - Add findbugs plugin to maven build
+
+Bug
+
+    [JOSHUA-22] - Parallelize MBR computation
+    [JOSHUA-71] - OS X installation depends on coreutils to run thrax test
+    [JOSHUA-95] - Vocabulary locking
+    [JOSHUA-107] - Verbosity levels
+    [JOSHUA-172] - Speed up grammar file reading with memory-mapped files
+    [JOSHUA-239] - Dependency addition to Joshua-Decoder/Joshua/pom.xml
+    [JOSHUA-259] - Integration tests are failing
+    [JOSHUA-268] - Phrase-based model error (NullPointerException)
+    [JOSHUA-271] - Thrax invocation should not reply upon $HADOOP being set
+    [JOSHUA-276] - Trivial fixes to 1.8 Javadoc
+    [JOSHUA-278] - Alignments printed incorrectly for phrase-based decoder
+    [JOSHUA-279] - Cannot build Joshua master branch
+    [JOSHUA-280] - Existing Language packs not compatible with Joshua master
+    [JOSHUA-281] - split2files.pl support script no longer exists hence pipeline fails
+    [JOSHUA-282] - %S output format doesn't remove <s>
+    [JOSHUA-284] - Phrase-based decoding changes
+    [JOSHUA-285] - Not all RuntimeExceptions are caught
+    [JOSHUA-287] - KenLM.java catches UnsatisfiedLinkError when attempting to load libken.so (libken.dylib on OSX)
+    [JOSHUA-299] - Move regression tests to proper unit tests
+    [JOSHUA-304] - word-align.conf alignment template file not compatible with berkeley aligner
+    [JOSHUA-305] - joshua-6.1-SNAPSHOT-source-release.zip takes ages to build
+    [JOSHUA-319] - test-decode decoder_command results in java.lang.NumberFormatException: For input string: "MAXSPAN"
+    [JOSHUA-321] - Add JOSHUA env to ./bin/bleu and ./bin/extract-1best bash scripts
+    [JOSHUA-322] - extract-1best script references non-existent execution paths
+
+Improvement
+
+    [JOSHUA-252] - Make it possible to use Maven to build Joshua
+    [JOSHUA-256] - Note that Joshua builds and runs with >= Java 1.8
+    [JOSHUA-262] - Implement all logging as Slf4j over Log4j
+    [JOSHUA-269] - Fix Javadoc in JOSHUA-252 branch to comply with JDK1.8 Spec
+    [JOSHUA-272] - Simplify the packing and usage of phrase-based grammars
+    [JOSHUA-286] - Remove presence of all joshua-decoder.org links in codebase
+    [JOSHUA-291] - Improve code quality via static analysis
+    [JOSHUA-296] - Refactor threading code
+    [JOSHUA-309] - Update CHANGELOG
+    [JOSHUA-312] - Even though alignment is cached, it is always re-done in pipeline re-execution
+
+New Feature
+
+    [JOSHUA-100] - Add Shen et al. (2008) dependency LM
+
+Task
+
+    [JOSHUA-248] - Add Apache License headers to Joshua code
+    [JOSHUA-249] - Joshua Logo
+    [JOSHUA-251] - Address Website Branding Issues
+    [JOSHUA-254] - Update README with correct branding
+    [JOSHUA-255] - License headers for all bash scripts
+    [JOSHUA-257] - Add license headers to all Python scripts
+    [JOSHUA-258] - Add back penn-treebank-(de)tokenizer perl scripts
+    [JOSHUA-261] - Remove ext directory from source tree
+    [JOSHUA-297] - List supported versions of Hadoop
+    [JOSHUA-323] - Joshua 6.1 Release Management
+
+Test
+
+    [JOSHUA-253] - Enable execution of Unit tests
+	
+6.0.5 (October 23, 2015)
+========================
+
+- KenLM updated, includes vastly improved cmake-based build
+- Fix for grammar packing that previously limited the size of grammars (esp. Hiero)
+- Support for packing and decoding with multiple packed grammars (if packed together)
+- Feature functions now report dense features, for more efficient handling
+- Added AdaGrad and internal MIRA
+- Pipeline:
+  - Alignment of different chunks now parallelized
+  - Computes meteor scores if $METEOR is defined
+  - Updated to use Hadoop 2.5.2
+  - Reworked how multiple tuning runs (for optimizer instability) function 
+- Maven compatibility
+- Developers
+  - Ant eclipse target
+  - Added code formatting spec for Eclipse import
+- Many bugfixes and other improvements
+
+6.0.4 (June 15, 2015)
+=====================
+
+- Local MIRA implementation (now the default for the pipeline; Moses' kbmira available
+  with '--tuner kbmira')
+- PRO tuning implementation restored
+- Alignment in pipeline parallelized across chunks (up to --threads)
+- Better integration for class-based LMs
+- Bugfixes in pipeline script and elsewhere
+- Logic for KenLM/lmplz boost compile improved
+
+6.0.3 (June 1, 2015)
+====================
+
+- New, more versatile run bundler for creating language packs
+- Restructuring of the pipeline. Now uses the run bundler to build models
+  for tuning and testing, and no longer directly supports multiple optimizer
+  runs
+- Split out ZMERT / PRO tuning script into run_zmert.py, to facilitate 
+  running ZMERT independently
+- Fix to ivy (dependency download tool) for offline and cached downloads
+- Other bug fixes and changes
+
+6.0.2 (April 10, 2015)
+======================
+
+- Restored compatibility with Moses 3.0 tuning regime (tuning with kbmira 
+  now requires Moses 3.0)
+- Sparse feature support in grammar file, which enables compatibility with 
+  PPDB grammars (paraphrase.org)
+- Bugfixes and other minor improvements
+
+6.0.1 (March 6, 2015)
+=====================
+
+Bugfixes:
+
+- Maximum phrase length was off by one (short)
+
+Improvements
+
+- **Phrase-table packing for Moses grammars**
+- BerkeleyLM now detects compressed files automatically
+- output-format now respected when top-n = 0 (with a subset of variables)
+- key + value format for specifying TMs
+- Better error messages and other minor improvements	
+	
+6.0 (February 4, 2015)
+======================
+
+Joshua 6.0 introduces many extensions and improvements. They include:
+
+- Phrase-based decoder
+
+  Joshua now includes an unlexicalized phrase-based decoder. It reads
+  Moses phrase tables directly. Support for training phrase-based
+  models is included in the pipeline (via callouts to Moses)
+
+- Significant speed improvements
+
+  Joshua is a lot faster (TODO: quantify). The phrase-based decoder is
+  on roughly par with Moses in terms of decoding speed: slower for
+  small beam sizes and faster for larger (above 200). GHKM decoding is
+  significantly faster as a result of the dot chart removal due to
+  Sennrich (2014).
+
+- Numerous bugfixes and other improvements
+
+  Dynamic lattice-based OOV segmenting, improved progress meters and
+  verbose output handling, support for alignments in phrase table,
+  latest KenLM (including lmplz)
+	
+5.0 (August 16, 2013)
+===================
+
+The main features of this release are described in
+
+  "Joshua 5.0: Sparser, Better, Faster, Server"
+  Matt Post, Juri Ganitkevitch, Luke Orland, Jonny Weese, Yuan Cao, and Chris Callison-Burch. 
+  ACL Workshop on Statistical Machine Translation. August, 2013.
+  www.statmt.org/wmt13/pdf/WMT26.pdf
+
+- Sparse feature implementation
+
+  Joshua now uses sparse features natively, with support for (hundreds of) thousands of
+  features and large-scale discriminative tuning via PRO (included) or kbMIRA (via Moses).
+
+- Significant performance improvements
+
+  Joshua is up to 6 times faster than the previous release. It scales to many threads
+  easily, and the packed grammar and amortized sorting virtually remove model loading times.
+
+- Added left-state LM minimization support (via KenLM)
+
+  Tests show that Joshua has parity with Moses in terms of speed and search.
+
+- Thrax 2.0
+
+  Thrax 2.0 is significantly faster, uses less disk space, and has been tested on corpora
+  of one hundred million sentence pairs.
+
+- Server
+
+  Joshua now includes a multithreaded TCP/IP server with round-robin scheduling among
+  connections.
+
+- Many, may bugfixes
+
+
+4.0 (July 2, 2012) 
+==================
+
+The main features of this release are described in 
+
+  "Joshua 4.0: Packing, PRO, and Paraphrasing."
+  Juri Ganitkevitch, Yuan Cao, Jonny Weese, Matt Post, and Chris Callison-Burch. 
+  NAACL Workshop on Statistical Machine Translation, June, 2012.
+
+They include:
+
+- Significantly improved and expanded documentation (both user and developer)
+
+  See http://joshua-decoder.org/4.0 or ./joshua-decoder.org/4.0/index.html (local mirror)
+
+- Synchronous parsing
+
+  Joshua will compute the best synchronous derivation over a pair of
+  sentences.  Pass the sentences in in the form 
+
+    source sentence ||| target sentence
+
+  and set the parameter "parse = true" (either from the config file or
+  command-line).
+
+- PRO implementation
+
+  We include an implementation of Pairwise Ranking Optimization (PRO,
+  Hopkins & May, EMNLP 2011).  It can be activated by passing "--tuner
+  pro" to the pipeline script.
+
+- Grammar packing
+
+  We include an efficient grammar representation that can be used to
+  greatly reduce the memory footprint of large grammars.
+
+- Numerous bugfixes
+
+== 3.2 (February 17, 2012) ======================================
+
+- Pop-limit pruning.
+
+  Pruning can now be specified with a single parameter "pop-limit"
+  parameter, which limits the number of pops from the cube pruning
+  candidate list at the span level.  This replaces the beam and
+  threshold pruning that was governed by four parameters (fuzz1,
+  fuzz2, relative_threshold, and max_n_rules), whose performance and
+  interaction was somewhat difficult to characterize.  The pop-limit
+  allows a simple relationship between decoding time and model score
+  to be defined.
+
+  Setting "pop-limit" in the configuration file or from the command
+  line turns off beam-and-threshold pruning, and its use is
+  recommended.  The default setting is to use a pop-limit of 100.
+
+- Multiple language model support
+
+  You can now specify an arbitrary number of language models.  See the
+  documentation in
+
+    $JOSHUA/scripts/training/templates/mert/joshua.config 
+
+  for information on how to do this.  You can also specify multiple
+  --lmfile flags to the pipeline.pl script.
+
+- Multiple optimizer + test runs (--optimizer-runs N), averaging the
+  results at the end (Clark et al., ACL 2011)
+
+- Added support for BerkeleyLM (Pauls and Klein, ACL 2011)
+
+- Support for lattice decoding (thanks to Lane Schwartz and the
+  miniSCALE 2012 team)
+
+- Pipeline script:
+
+  - Removed all external dependencies (e.g., Moses, SRILM)
+
+  - Reorganized the training data
+
+  - Permit multiple test runs with subsequent --test FILE --name NAME
+    calls to the pipeline
+
+  - GIZA++ runs are parallelized if more than one thread is permitted
+    (--threads N, N >=2 )
+
+  - Numerous bugfixes
+
+  - Hadoop cluster rollout is now a single instance (slower but
+    doesn't require error-prone server setup)
+
+- Parameters
+
+  - Joshua now dies if it encounters unknown parameters on the command
+    line or config file
+
+  - Parameters are now normalized to remove hyphens (-) and
+    underscores (_) and to flatten case, permitting you to specify any
+    of, for example, {pop-limit, popLimit, pop_limit, ...}
+
+- Lots of reorganization and purging of old code
+
+
+3.1 
+=============================
+
+- Fixed multithreading.  Use -threads N from the command line or
+  configuration file to spawn N parallel decoding threads.
+
+- Configuration file parameters can now be overridden from the command
+  line.  The format is
+
+  -parameter value
+
+  Among these must be the configuration file itself, which can be
+  referred to with -config, or -c for short.
+
+3.0
+===
+
+- Added the highly parameterizable Hadoop-based Thrax grammar
+  extractor, which extracts both Hiero and SAMT grammars.
+
+- Incorporated a black-box pipeline script at
+  $JOSHUA/scripts/training/pipeline.pl
+
+- Moved development to github.com.

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/f45c3fd3/KEYS
----------------------------------------------------------------------
diff --git a/KEYS b/KEYS
new file mode 100644
index 0000000..36fcafc
--- /dev/null
+++ b/KEYS
@@ -0,0 +1,98 @@
+This file contains the PGP keys of various developers.
+Please don't use them for email unless you have to. Their main
+purpose is code signing.
+
+Examples of importing this file in your keystore:
+ gpg --import KEYS
+ (need pgp and other examples here)
+
+Examples of adding your key to this file:
+ pgp -kxa <your name> and append it to this file.
+ (pgpk -ll <your name> && pgpk -xa <your name>) >> this file.
+ (gpg --list-sigs <your name>
+     && gpg --armor --export <your name>) >> this file.
+
+pub   4096R/48BAEBF6 2013-10-28
+uid       [ unknown] Lewis John McGibbney (CODE SIGNING KEY) <le...@apache.org>
+sig 3        48BAEBF6 2013-10-28  Lewis John McGibbney (CODE SIGNING KEY) <le...@apache.org>
+sub   4096R/88149F13 2013-10-28
+sig          48BAEBF6 2013-10-28  Lewis John McGibbney (CODE SIGNING KEY) <le...@apache.org>
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v2
+
+mQINBFJub9kBEADL8yTpP+Q78Hfy/GubY9q7MJPTvdKgbZiBFr8Xv7S2/cbm5hZm
+5pXNOBuuED95IgtlZ6q0K4QNjmbR6iEruw06kFN7nWmu2PnIDz85+qqmK78ri2k7
+zzM1zcM22kbu6DV0UQx9JWEVX+JkKa/y03aZ4JcxiTDMg76AmP6MhcnhNuQqCdZU
+Dgo8KN4JSRKtFbiojqhSslR0lu6RVmdFQvviSaSX9BLxed/cOHdaO8ex7g5fLs8N
+JLZUO/TAWDZJvULGvs/mOtAsbvDPjr2ej/sYaXVD8vvB31mDzgcQ26mXMG/z2NoP
+XgYQCUFiHb5FxCmkM5EYQYCvLlZFTO4vXf08o6nlc5TKQsfl8a3KIoIWIom05843
+Ru7zhckZ1M9x69MWH7LbYhFB0GI9C7gxFe5d5m6F654gQe8AUN71rFwQ8NjODPeB
+NC3QBMMllir3MDnJMM29juAhR29JpshwOx9UY8VmG9stzv1S18Z0PRkdnhnJgC8+
+i32OxAnCmbjPtpiYS1WQQ04Ozr+A8ojSr+5KwCoYYNOtNWsoOc35BZUC1mqdjulv
+engDauCpZH0POxQQQmQHsk4zB3hGOO/AA3Uef/AYxIVa5hxM3eHqOSXBXMnyK5qn
+jz0olTkKsMShKuMWOi0NFznYfKGJtETh5MjV+Y3dNBZ8E4jEjAjca6fxvwARAQAB
+tDxMZXdpcyBKb2huIE1jR2liYm5leSAoQ09ERSBTSUdOSU5HIEtFWSkgPGxld2lz
+bWNAYXBhY2hlLm9yZz6JAjgEEwECACIFAlJub9kCGwMGCwkIBwMCBhUIAgkKCwQW
+AgMBAh4BAheAAAoJEDpHF/BIuuv24zsQAKX4W/T8yoCszgeABU73yJ9z73PxSORR
+N3rNjk4LM36b/HzISwo6xcG789hxD2ooN9fYS21WEA8dzLH0IUT3LVM7ccsfCiKu
+OUCCvzcdFYFlNXps1U/2utiIk/M9Nn23Hzr7B20qsfinfPECOQZRgvejCKMJq+UN
+ZtBfzIdd+JnqpTiVFP/XDKEKoV1h62/V+Nc3ZT5oExRM4gMmIfALMm2fWKSPfV0W
+hyBeOauVap9uPleRxtUbqVEHT7YUsbi36thu7OZDHshxmNwQpByUos9GdtkpknHU
+tDVjAlgbd526DqGlUMje/Xj3KUmjuHjxG9Y3VHGEMAsZu5YzwceYxC6hChwIASaf
+egqbcSDfYB28hSI2+dpaSdoBMPE741lSs4icsuTFb4OTzqvYwnUDK8BWs2CM4vs+
+nMCbNMTzXzJttPwNdbsRn8bdu6vd3TuvBbdYelyLmQN/z2B8ErjSpGwQDY2B6wXm
+Jyd1FpDeCEeSuvel/AnbcF3lOcfJukdN5//ns29c2EM3YZhdTD8gkGWduC9I0zD8
+XmSc819V7uO4hRNJJBc+Jb/kYVXQWzz9N3iXTg/uSD/GYEKTuCYAWG1jJvWOkN0S
+HhNYtZs4J7B4q8Yb71+tqMOIbln2x7bbAMDt+ds0sfkhHYJbFW1JA4pZ7kQPRe0g
+dok5byksAITluQINBFJub9kBEADJzskj9a5ANGeXo8aCVKU8ZgiXhTBOX79Yq2+w
+/LEmtkILmSmgvlFvLbYX7DHK8J9w7W9tOcn/cMsNzidEyEtZQRzafYl9stsrFkhZ
+XzkU7GoIe6GY2ijGu/RG92hjALjgCKb6vodhqIU3hnJ9VnaqIoTjBkGivvHp0d4f
+F32Hi3irsTtzSaUXbK+ih2a3Xcih009ajjRaP3Y4z8c24BPRHtJPXn91j6jm4yx1
+9+D3cEvfzxfz5E3qeEg8NEnJngRgi0et8ko2Ac4H9TOH60NJAIz85kq/JYxLmYSw
+FQRP6E26oISA5sjf6xRh2vmc8mRAImESWl9UbugGWV4XlvvWgDEVf2O+TQVE1rbN
+9V2g/lG+y6QXDLXH6UsnoEHkp4svt8/XLqewazKG1H4ac+PK5zSNHOCNyQylhQtb
+LcWqlQqsPsEz29hlddSy7Xrp/CueZgGUH/8HI9/SqJrBvtLPiO473b6BGCXONS9U
+yuJtiWlrcDHE/cZEgLZjNK8XTyYeSS5civz7VyqM2av0m59UIzTIfbnqjJVrxxfo
+arwjgC8hV/WhrwdRGt9/TjfDaj1ynKjtoey2zBFhnVzjmEgmpKffXZsIrFCa5BxR
+rYo+WketKNHy4FswwcoznHDmr+0AMIrbKL27LeTAr9BK0aG6MKxcC8A34yVMfa1/
+CXAWZwARAQABiQIfBBgBAgAJBQJSbm/ZAhsMAAoJEDpHF/BIuuv2G98P/2PLJiZD
+KneXkwtwk45cGzleTQHRXCJc0kiysf5ggVVSF2u9dK5uANDNTr3qjYoop5ky3gjM
+/EoCZUFMwM42tZqQwFefUakepuM9fa8F1ke+UDqKd2UwTkT4sq7witkSdC7ME81V
+etbJNGniM6sPytbmRPyNMu+hxobTZojUqDTd/u4W/tthg+WQrI+DDXaOt3/AjWg0
+F9zjyDeurSTHi4KNV1VEH6d2vqO/Wxes4Wil2Wmri1fefafo/H0HtciAdQWAr43h
+wqGH8vvFFoKgqgMKbn9sXhF4ZK6AFp+EfgiAWzzcrQodWkOk0LEsPDB0Rz4DOncQ
+bEmH5Z/+vKaSCsIl+nQKrcwqRnB6XOTc9Ibr8fVcQk7aK5nGROg3+2tiuyJ4XvZR
+bhPOAIsRH6Qj4aUUsHk2Fb601pVOv9nF+uTIw14sJeKAim5Znslv0d+7zVWeNsWX
+99ALKibjH0RwS6p3b5TPDc8oSBBQK0eEU9Osug2D0iWU4jO5m3UzdTu4/XIbTvrX
+wpZike26qO1z4LedncZhFV8e9ylEBwGhObr7/W91E8Fw8kBdDNt7Lm/IDZkF1uSW
+CxS+NsK871+gxIsxfmgEzO8sh8wEVEU8nJcSu0Q3VamqzwCFqp3+99eJeK7Aoghv
+U4mpCUPzJn0b//0ghg/s1QfpYW0sT6iCPWd1mQGiBEOeSV8RBADLzWiOSPrXX13i
+rCXT42l6cFj4cqK21K02yZWGQKfrFLtOrrr7XzN/3K0amFKT4CurBDx33yk2QPlZ
+Lu/he1P7yaECRL67Ueoyuc5KJtuZ/T6KaInnxYVzN0adHcuhsw2NeUXHBgWTOmEl
+YJLIYsxm2L5J86djAfzOOlSjhoptawCg/BYgtb2WiFn6FmLu5Ac20ue+TncD/2dJ
+0w4C5dIk60WSvqgM0TuaN2u3lvvEWKCw94L9P+VnDSH672HeFLjDnEc0Sb95kUhF
+1hCAEzESXz8g8aBzvAmHJXpuX19wpibCOcwOFok7eAooOOVKMuOAg5d3QrGchEEF
+agZ4VOfLgHZvsiJLaOgVRSYneVF1II7xRTjSr6QFA/9WL/B2rkCy3d8snLrD5ua8
+k5bmxAIHVZ9zdbTFbd24TsbbwOuSjoJgf7Xih7NPPsZScQ4CFRSvteQASdVIliHv
+2Jd/FEhVUS/Thq1pqqoBu6YGRUK+BLzJqWryvYr7Cxp3igVVru5LwiPcyT+VrUUW
+yU0V7XSBJ2kUF14RtWzM97QkRGF2aWQgSm9obnNvbiA8c25vb3BkYXZlQGFwYWNo
+ZS5vcmc+iF4EExECAB4FAkOeSV8CGwMGCwkIBwMCAxUCAwMWAgECHgECF4AACgkQ
+/Z7Z8ReqWyXLyQCg8X3KPDwRgqc6F2XlD3J51ysi8yEAoPdVrHAfZ8HL15xHkkOf
+Na70AzbOiF4EExECAB4FAkOeSV8CGwMGCwkIBwMCAxUCAwMWAgECHgECF4AACgkQ
+/Z7Z8ReqWyXLyQCbBIn7UhQ6jruDlXyDuKPIXTmkg/0An2JQXcEGVj6LT5P4rGzI
+wxPzpvGkuQINBEOeSccQCADqxE1UeyYw8DvaybE9jGnCE7BgSCNPkjBFL5F1MT9+
+kHBUBSznTDDhvvniYqwGMaXzPAdICeNcix8MLtgcQ4kyBzgO/3De2k012LVME+8R
+B8rQPv7xFsS2nWywjcgzcQCMa3V9n8QU7YjOIgbeT7XklZTy1KWZSvOBZ6Yn6iBN
+HV5EOd2wjakdPbJ/gptMK0H/GHXYdVNU4KLczkvHdymAX7RYxXfCDMgSLn3Gaiwl
+ILALxuQRMxKq2KQQ+3aHCT5xZghBn3+70kHZeu+qz7u8MNlP0OsZQO0k2QBn5+NT
+5XuN5Uh+jCx9WjqdABXGspxDg9qmmUpamob1sWXyrgjPAAMFB/9fkGR6mG30zd19
+oZKztHBvAmtV46Oa6gsmvn3CxC7fIvMI/IFgRNDMEV0VEqzi1CK/w0p4Txst8Fk1
+rbf5F1LQe01RP+xuIwNQ4f8J4xVOm2ZiUVANaJy8GH1+CzAPhsTemtp8gmZhwzaP
+QTSvXsUIONWiOaWVCyUTPYV1L9QodA4XKfCvzBqkfgEsl8q7FB6Te90JuawGx4qx
+Omf2sonRVsCbMZC1rOy23TDVqDwjfdnrdswDAt/j4ogVca1bTJ/S6TdXZY0qj1Iy
+FHpCLRcLwIVLG0whYx/iGxy/NCmngU21HBLsDZnr0EtkVyf3i6hQQ7YYBteJ52PF
+FyQLo7ViiEkEGBECAAkFAkOeSccCGwwACgkQ/Z7Z8ReqWyXHwwCgoz4Os7VT15qm
+H+e/NPGRQ+PA4R8AoNYzlZbOLpSjKxE9xDuuUkJbnyep
+=QSCZ
+-----END PGP PUBLIC KEY BLOCK-----

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/f45c3fd3/NOTICE.txt
----------------------------------------------------------------------
diff --git a/NOTICE.txt b/NOTICE.txt
new file mode 100644
index 0000000..d3e62a2
--- /dev/null
+++ b/NOTICE.txt
@@ -0,0 +1,9 @@
+Apache HTrace
+Copyright 2016 The Apache Software Foundation
+
+This product includes software developed at The Apache Software
+Foundation (http://www.apache.org/).
+
+In addition, this product includes software dependencies. See
+the accompanying LICENSE.txt for a listing of dependencies
+that are NOT Apache licensed (with pointers to their licensing)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/f45c3fd3/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 85a94e4..ded907a 100644
--- a/README.md
+++ b/README.md
@@ -10,15 +10,12 @@
 # Welcome to Apache Joshua (Incubating)
 <img src="https://s.apache.org/joshua_logo" align="right" width="300" />
 
-Joshua is a statistical machine translation toolkit for both
-phrase-based (new in version 6.0) and syntax-based decoding. It can be
-run with pre-built language packs available for download, and can also
-be used to build models for new language pairs. Among the many features of
+Joshua is a statistical machine translation toolkit for both phrase-based (new in version 6.0) and syntax-based decoding. It can be run with pre-built language packs available for download, and can also be used to build models for new language pairs. Among the many features of
 Joshua are:
 
  * Support for both phrase-based and syntax-based decoding models
  * Translation of weighted input lattices
- * [Thrax](http://joshua.incubator.apache.org/6.0/thrax.html): a Hadoop-based, scalable grammar extractor
+ * [Thrax](https://github.com/joshua-decoder/thrax): a Hadoop-based, scalable grammar extractor
  * A [sparse feature architecture](http://cs.jhu.edu/~post/joshua-docs/md_sparse_features.html) supporting an arbitrary number of features
 
 The latest release of Joshua is always linked to directly from the [Home Page](http://joshua.incubator.apache.org)
@@ -36,9 +33,7 @@ Joshua 6.X includes the following new features:
 
 Joshua must be run with a Java JDK 1.8 minimum.
 
-To run the decoder in any form requires setting a few basic environment
-variables: `$JAVA_HOME`, `$JOSHUA`, and, for certain (optional) portions of the model-training
-pipeline, potentially `$MOSES`.
+To run the decoder in any form requires setting a few basic environment variables: ```$JAVA_HOME```, ```$JOSHUA```, and, for certain (optional) portions of the model-training pipeline, potentially ```$MOSES```.
 
     export JAVA_HOME=/path/to/java  # maybe /usr/java/home
     export JOSHUA=/path/to/joshua
@@ -53,7 +48,7 @@ Then, compile Joshua by typing:
     cd $JOSHUA
     mvn clean compile assembly:single
 
-You also need to download and compile KenLM and Thrax:
+You also need to download and compile [KenLM](http://kheafield.com/code/kenlm/) and [Thrax](https://github.com/joshua-decoder/thrax):
 
     bash ./download-deps.sh
 
@@ -72,18 +67,11 @@ with this by typing
 
 ## Working with "language packs"
 
-Joshua includes a number of "language packs", which are pre-built models that
-allow you to use the translation system as a black box, without worrying too
-much about how machine translation works. You can browse the models available
-for download on the [Joshua website](http://joshua.incubator.apache.org/language-packs/).
+Joshua includes a number of "language packs", which are pre-built models that allow you to use the translation system as a black box, without worrying too much about how machine translation works. You can browse the models available for download on the [Joshua website](http://joshua.incubator.apache.org/language-packs/).
 
 ## Building new models
 
-Joshua includes a pipeline script that allows you to build new models, provided
-you have training data.  This pipeline can be run (more or less) by invoking a
-single command, which handles data preparation, alignment, phrase-table or
-grammar construction, and tuning of the model parameters. See [the documentation](http://joshua.incubator.apache.org/pipeline.html)
-for a walkthrough and more information about the many available options.
+Joshua includes a pipeline script that allows you to build new models, provided you have training data.  This pipeline can be run (more or less) by invoking a single command, which handles data preparation, alignment, phrase-table or grammar construction, and tuning of the model parameters. See [the documentation](https://cwiki.apache.org/confluence/x/Dh-tAw) for a walkthrough and more information about the many available options.
 
 # License
 Joshua is licensed and released under the permissive [Apache License v2.0](http://www.apache.org/licenses/LICENSE-2.0), a copy of which ships with the Joshua source code.


[10/10] incubator-joshua git commit: [maven-release-plugin] prepare release apache-joshua-6.1

Posted by le...@apache.org.
[maven-release-plugin] prepare release apache-joshua-6.1


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/92301ef0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/92301ef0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/92301ef0

Branch: refs/heads/master
Commit: 92301ef0dbf375224e55c9444c6aebca3a579bb7
Parents: fe482e9
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Fri Nov 11 02:31:57 2016 -0800
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Fri Nov 11 02:31:57 2016 -0800

----------------------------------------------------------------------
 pom.xml | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/92301ef0/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9d0f4a3..de1db27 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,8 +15,7 @@
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.apache</groupId>
@@ -26,7 +25,7 @@
   <groupId>org.apache.joshua</groupId>
   <artifactId>joshua</artifactId>
   <packaging>jar</packaging>
-  <version>6.1-SNAPSHOT</version>
+  <version>6.1</version>
   <name>Apache Joshua Machine Translation Toolkit</name>
   <description>Joshua is an open-source statistical machine
   translation decoder for phrase-based, hierarchical,
@@ -112,7 +111,7 @@
     <connection>scm:git:http://git-wip-us.apache.org/repos/asf/incubator-joshua.git</connection>
     <developerConnection>scm:git:http://git-wip-us.apache.org/repos/asf/incubator-joshua.git</developerConnection>
     <url>https://git-wip-us.apache.org/repos/asf/incubator-joshua.git</url>
-    <tag>HEAD</tag>
+    <tag>apache-joshua-6.1</tag>
   </scm>
   <issueManagement>
     <system>JIRA</system>
@@ -347,8 +346,7 @@
             </executions>
             <configuration>
               <licenses>
-                <license
-                  implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+                <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
                   <licenseFamilyCategory>ASL20</licenseFamilyCategory>
                   <licenseFamilyName>Apache
                     Software License, 2.0</licenseFamilyName>


[03/10] incubator-joshua git commit: JOSHUA-323 Joshua 6.1 Release Management

Posted by le...@apache.org.
JOSHUA-323 Joshua 6.1 Release Management


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/10bfa319
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/10bfa319
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/10bfa319

Branch: refs/heads/master
Commit: 10bfa31993a8859adc06b200fa173fb5f18e7919
Parents: 7f2ef26
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Thu Nov 10 20:54:59 2016 -0800
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Thu Nov 10 20:54:59 2016 -0800

----------------------------------------------------------------------
 pom.xml | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/10bfa319/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ad0a9fb..005c1c0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -310,7 +310,6 @@
       <id>release</id>
       <build>
         <plugins>
-          <
           <plugin>
             <groupId>org.apache.rat</groupId>
             <artifactId>apache-rat-plugin</artifactId>


[05/10] incubator-joshua git commit: JOSHUA-323 Joshua 6.1 Release Management

Posted by le...@apache.org.
JOSHUA-323 Joshua 6.1 Release Management


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/c2c59d84
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/c2c59d84
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/c2c59d84

Branch: refs/heads/master
Commit: c2c59d8435ebb8d7d5dd8191ff2dec24352a4838
Parents: c733f45
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Thu Nov 10 21:06:26 2016 -0800
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Thu Nov 10 21:06:26 2016 -0800

----------------------------------------------------------------------
 .gitignore |  1 +
 pom.xml    | 10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/c2c59d84/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index a5e67a7..085072e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -61,3 +61,4 @@ ext/
 thrax/
 test-output
 joshua-core/test-output
+.pydevproject

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/c2c59d84/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0005144..540f0e1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -363,13 +363,21 @@
               </licenses>
               <excludeSubProjects>false</excludeSubProjects>
               <excludes>
+                <exclude>.classpath</exclude>
+                <exclude>.gitignore/**/**</exclude>
+                <exclude>.git/**/**</exclude>
+                <exclude>.gitmodules/**/**</exclude>
+                <exclude>.project</exclude>
+                <exclude>.pydevproject</exclude>
+                <exclude>.settings</exclude>
+                <exclude>.travis.yml</exclude>
                 <exclude>CHANGES.md</exclude>
                 <exclude>README.md</exclude>
                 <exclude>NOTICE.txt</exclude>
                 <exclude>LICENSE</exclude>
                 <exclude>KEYS</exclude>
                 <exclude>doap_joshua.rdf</exclude>
-                <exclude>.gitignore/**/**</exclude>
+                <exclude>src/test/**</exclude>
               </excludes>
             </configuration>
           </plugin>


[02/10] incubator-joshua git commit: JOSHUA-323 Joshua 6.1 Release Management

Posted by le...@apache.org.
JOSHUA-323 Joshua 6.1 Release Management


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/7f2ef263
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/7f2ef263
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/7f2ef263

Branch: refs/heads/master
Commit: 7f2ef263cbaee94ba82cff4e8145a288180a3afa
Parents: f45c3fd
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Thu Nov 10 20:53:47 2016 -0800
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Thu Nov 10 20:53:47 2016 -0800

----------------------------------------------------------------------
 doap_joshua.rdf |  57 +++++++++++++++++++++
 pom.xml         | 142 +++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 194 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/7f2ef263/doap_joshua.rdf
----------------------------------------------------------------------
diff --git a/doap_joshua.rdf b/doap_joshua.rdf
new file mode 100644
index 0000000..6374534
--- /dev/null
+++ b/doap_joshua.rdf
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl"?>
+<rdf:RDF xml:lang="en"
+         xmlns="http://usefulinc.com/ns/doap#" 
+         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
+         xmlns:asfext="http://projects.apache.org/ns/asfext#"
+         xmlns:foaf="http://xmlns.com/foaf/0.1/">
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+   
+         http://www.apache.org/licenses/LICENSE-2.0
+   
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+  <Project rdf:about="http://joshua.apache.org">
+    <created>2016-11-10</created>
+    <license rdf:resource="http://usefulinc.com/doap/licenses/asl20" />
+    <name>Apache Joshua</name>
+    <homepage rdf:resource="http://joshua.apache.org" />
+    <asfext:pmc rdf:resource="http://joshua.apache.org" />
+    <shortdesc>Joshua is a statistical machine translation toolkit for both phrase-based and syntax-based decoding.</shortdesc>
+    <description>Joshua is a statistical machine translation toolkit for both phrase-based (new in version 6.0) and syntax-based decoding. It can be run with pre-built language packs available for download, and can also be used to build models for new language pairs.</description>
+    <bug-database rdf:resource="https://issues.apache.org/jira/browse/JOSHUA" />
+    <mailing-list rdf:resource="https://cwiki.apache.org/confluence/x/Y6W8Aw" />
+    <download-page rdf:resource="https://cwiki.apache.org/confluence/x/DoS8Aw" />
+    <programming-language>Java</programming-language>
+    <category rdf:resource="https://projects.apache.org/projects.html?category#Library" />
+    <release>
+      <Version>
+        <name>6.1 release</name>
+        <created>2016-11-10</created>
+        <revision>6.1</revision>
+      </Version>
+    </release>
+    <repository>
+      <SVNRepository>
+        <location rdf:resource="https://git-wip-us.apache.org/repos/asf/incubator-joshua.git"/>
+        <browse rdf:resource="https://github.com/apache/incubator-joshua"/>
+      </SVNRepository>
+    </repository>
+    <maintainer>
+      <foaf:Person>
+        <foaf:name>Joshua Development Team</foaf:name>
+          <foaf:mbox rdf:resource="mailto:dev@joshua.incubator.apache.org"/>
+      </foaf:Person>
+    </maintainer>
+  </Project>
+</rdf:RDF>

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/7f2ef263/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 985232f..ad0a9fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,6 +38,13 @@
   <properties>
     <slf4j.version>1.7.21</slf4j.version>
     <findbugs.version>3.0.4</findbugs.version>
+    <apache-rat-plugin.version>0.12</apache-rat-plugin.version>
+    <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
+    <maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
+    <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
+    <checksum-maven-plugin.version>1.3</checksum-maven-plugin.version>
+    <javac.src.version>1.8</javac.src.version>
+    <javac.target.version>1.8</javac.target.version>
   </properties>
 
   <licenses>
@@ -144,8 +151,8 @@
       <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>${javac.src.version}</source>
+          <target>${javac.target.version}</target>
         </configuration>
       </plugin>
       <plugin>
@@ -208,9 +215,9 @@
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-	      <artifactId>maven-eclipse-plugin</artifactId>
-	      <version>2.10</version>
-	      <configuration>
+        <artifactId>maven-eclipse-plugin</artifactId>
+        <version>2.10</version>
+        <configuration>
           <workspace>${basedir}</workspace>
           <workspaceCodeStylesURL>${basedir}/eclipse-codeformat.xml</workspaceCodeStylesURL>
         </configuration>
@@ -297,4 +304,129 @@
       <scope>test</scope>
     </dependency>
   </dependencies>
+
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <
+          <plugin>
+            <groupId>org.apache.rat</groupId>
+            <artifactId>apache-rat-plugin</artifactId>
+            <version>${apache-rat-plugin.version}</version>
+            <executions>
+              <execution>
+                <id>rat-verify</id>
+                <phase>test</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <licenses>
+                <license
+                  implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+                  <licenseFamilyCategory>ASL20</licenseFamilyCategory>
+                  <licenseFamilyName>Apache
+                    Software License, 2.0</licenseFamilyName>
+                  <notes>Single licensed ASL v2.0</notes>
+                  <patterns>
+                    <pattern>Licensed to the Apache Software Foundation
+                      (ASF) under
+                      one or more contributor license agreements.</pattern>
+                  </patterns>
+                </license>
+              </licenses>
+              <excludeSubProjects>false</excludeSubProjects>
+              <excludes>
+                <exclude>CHANGES.md</exclude>
+                <exclude>README.md</exclude>
+                <exclude>NOTICE.txt</exclude>
+                <exclude>LICENSE</exclude>
+                <exclude>KEYS</exclude>
+                <exclude>doap_joshua.rdf</exclude>
+                <exclude>.gitignore/**/**</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-source-plugin</artifactId>
+            <version>${maven-source-plugin.version}</version>
+            <executions>
+              <execution>
+                <id>attach-sources</id>
+                <goals>
+                  <goal>jar-no-fork</goal>
+                </goals>
+                <configuration>
+                  <archive>
+                    <manifest>
+                      <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                      <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                    </manifest>
+                    <manifestEntries>
+                      <Implementation-Build>${implementation.build}</Implementation-Build>
+                      <Implementation-Build-Date>${maven.build.timestamp}</Implementation-Build-Date>
+                      <X-Compile-Source-JDK>${javac.src.version}</X-Compile-Source-JDK>
+                      <X-Compile-Target-JDK>${javac.target.version}</X-Compile-Target-JDK>
+                    </manifestEntries>
+                  </archive>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>${maven-javadoc-plugin.version}</version>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+                <configuration>
+                  <quiet>true</quiet>
+                  <archive>
+                    <manifest>
+                      <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                      <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                    </manifest>
+                    <manifestEntries>
+                      <Implementation-Build>${implementation.build}</Implementation-Build>
+                      <Implementation-Build-Date>${maven.build.timestamp}</Implementation-Build-Date>
+                      <X-Compile-Source-JDK>${javac.src.version}</X-Compile-Source-JDK>
+                      <X-Compile-Target-JDK>${javac.target.version}</X-Compile-Target-JDK>
+                    </manifestEntries>
+                  </archive>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-gpg-plugin</artifactId>
+            <version>${maven-gpg-plugin.version}</version>
+            <executions>
+              <execution>
+                <id>sign-artifacts</id>
+                <phase>verify</phase>
+                <goals>
+                  <goal>sign</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>net.ju-n.maven.plugins</groupId>
+            <artifactId>checksum-maven-plugin</artifactId>
+            <version>${checksum-maven-plugin.version}</version>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>


[09/10] incubator-joshua git commit: JOSHUA-323 Joshua 6.1 Release Management

Posted by le...@apache.org.
JOSHUA-323 Joshua 6.1 Release Management


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/fe482e9a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/fe482e9a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/fe482e9a

Branch: refs/heads/master
Commit: fe482e9aac23986e22cd59bdbf85f88626238b70
Parents: 8c21101
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Fri Nov 11 02:27:18 2016 -0800
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Fri Nov 11 02:27:18 2016 -0800

----------------------------------------------------------------------
 pom.xml                                           | 11 +++++++++++
 scripts/ems/config.ghkm                           | 15 +++++++++++++++
 scripts/ems/config.hiero                          | 15 +++++++++++++++
 scripts/ems/config.phrase                         | 15 +++++++++++++++
 scripts/ems/experiment.meta                       | 15 +++++++++++++++
 scripts/language-pack/build_lp.sh                 | 14 ++++++++++++++
 scripts/misc/canonical_path                       | 14 ++++++++++++++
 scripts/misc/iso639                               | 14 ++++++++++++++
 scripts/support/extract-1best                     | 14 ++++++++++++++
 scripts/support/phrase2hiero.py                   | 14 ++++++++++++++
 scripts/support/split2files                       | 14 ++++++++++++++
 scripts/training/cachepipe/CachePipe.pm           | 15 +++++++++++++++
 scripts/training/cachepipe/bashrc                 | 15 +++++++++++++++
 scripts/training/mira/feature_label_munger.pl     | 14 ++++++++++++++
 scripts/training/mira/run-mira.pl                 | 15 +++++++++++++++
 scripts/training/parallelize/LocalConfig.pm       | 15 +++++++++++++++
 scripts/training/parallelize/Makefile             | 15 +++++++++++++++
 scripts/training/parallelize/parallelize.pl       | 14 ++++++++++++++
 scripts/training/parallelize/sentclient.c         | 18 ++++++++++++++++++
 scripts/training/parallelize/sentserver.c         | 18 ++++++++++++++++++
 scripts/training/parallelize/sentserver.h         | 18 ++++++++++++++++++
 scripts/training/paste                            | 14 ++++++++++++++
 scripts/training/scat                             | 14 ++++++++++++++
 .../training/templates/alignment/word-align.conf  | 15 +++++++++++++++
 scripts/training/templates/tune/joshua.config     | 15 +++++++++++++++
 25 files changed, 370 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 766d7a8..9d0f4a3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -386,6 +386,17 @@
                 <exclude>distribution/joshua-runtime/README.md</exclude>
                 <exclude>examples/**</exclude>
                 <exclude>scripts/preparation/nonbreaking_prefixes/**</exclude>
+                <exclude>scripts/distributedLM/global_symol_list</exclude>
+                <exclude>scripts/distributedLM/lm.list.withweights</exclude>
+                <exclude>scripts/language-pack/README.template</exclude>
+                <exclude>scripts/training/templates/alignment/jacana/resources/model/tagdict</exclude>
+                <exclude>scripts/training/templates/glue-grammar</exclude>
+                <exclude>scripts/training/templates/glue-grammar.itg</exclude>
+                <exclude>scripts/training/templates/hadoop/masters</exclude>
+                <exclude>scripts/training/templates/hadoop/slaves</exclude>
+                <exclude>scripts/training/templates/tune/decoder_command</exclude>
+                <exclude>scripts/training/templates/tune/decoder_command.qsub</exclude>
+                <exclude>scripts/training/TODO</exclude>
               </excludes>
             </configuration>
           </plugin>

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/ems/config.ghkm
----------------------------------------------------------------------
diff --git a/scripts/ems/config.ghkm b/scripts/ems/config.ghkm
index d874e74..b8644f6 100644
--- a/scripts/ems/config.ghkm
+++ b/scripts/ems/config.ghkm
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 ################################################
 ### CONFIGURATION FILE FOR AN SMT EXPERIMENT ###
 ################################################

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/ems/config.hiero
----------------------------------------------------------------------
diff --git a/scripts/ems/config.hiero b/scripts/ems/config.hiero
index 9d47aa0..3aa97b9 100644
--- a/scripts/ems/config.hiero
+++ b/scripts/ems/config.hiero
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 ################################################
 ### CONFIGURATION FILE FOR AN SMT EXPERIMENT ###
 ################################################

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/ems/config.phrase
----------------------------------------------------------------------
diff --git a/scripts/ems/config.phrase b/scripts/ems/config.phrase
index 1e9260e..7f45007 100644
--- a/scripts/ems/config.phrase
+++ b/scripts/ems/config.phrase
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 ################################################
 ### CONFIGURATION FILE FOR AN SMT EXPERIMENT ###
 ################################################

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/ems/experiment.meta
----------------------------------------------------------------------
diff --git a/scripts/ems/experiment.meta b/scripts/ems/experiment.meta
index 7de5aa9..44ec363 100644
--- a/scripts/ems/experiment.meta
+++ b/scripts/ems/experiment.meta
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # experiment.meta: now with comments.
 
 [CORPUS] multiple

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/language-pack/build_lp.sh
----------------------------------------------------------------------
diff --git a/scripts/language-pack/build_lp.sh b/scripts/language-pack/build_lp.sh
index d61d67c..8242077 100755
--- a/scripts/language-pack/build_lp.sh
+++ b/scripts/language-pack/build_lp.sh
@@ -1,4 +1,18 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # This script assembles a language pack.
 # 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/misc/canonical_path
----------------------------------------------------------------------
diff --git a/scripts/misc/canonical_path b/scripts/misc/canonical_path
index 7a21e93..5bcd824 100755
--- a/scripts/misc/canonical_path
+++ b/scripts/misc/canonical_path
@@ -1,4 +1,18 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 import os
 import argparse

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/misc/iso639
----------------------------------------------------------------------
diff --git a/scripts/misc/iso639 b/scripts/misc/iso639
index c060707..8625754 100755
--- a/scripts/misc/iso639
+++ b/scripts/misc/iso639
@@ -1,4 +1,18 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 """
 Converts among language names and abbreviations using Python's ISO-639 module.

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/support/extract-1best
----------------------------------------------------------------------
diff --git a/scripts/support/extract-1best b/scripts/support/extract-1best
index a0cd61f..bbc4a47 100755
--- a/scripts/support/extract-1best
+++ b/scripts/support/extract-1best
@@ -1,4 +1,18 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # This script takes Joshua's nbest output and extracts the 1-best
 # output.

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/support/phrase2hiero.py
----------------------------------------------------------------------
diff --git a/scripts/support/phrase2hiero.py b/scripts/support/phrase2hiero.py
index 581a823..fd86f02 100755
--- a/scripts/support/phrase2hiero.py
+++ b/scripts/support/phrase2hiero.py
@@ -1,4 +1,18 @@
 #!/usr/bin/python
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 """
 Converts a Moses phrase table to a Joshua phrase table. The differences are

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/support/split2files
----------------------------------------------------------------------
diff --git a/scripts/support/split2files b/scripts/support/split2files
index 76bbdba..c5399b6 100755
--- a/scripts/support/split2files
+++ b/scripts/support/split2files
@@ -1,4 +1,18 @@
 #!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # Reads any number of file names from the command line, then split()s
 # STDIN on tabs and writes them to those files. Example usage:

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/cachepipe/CachePipe.pm
----------------------------------------------------------------------
diff --git a/scripts/training/cachepipe/CachePipe.pm b/scripts/training/cachepipe/CachePipe.pm
index eca3039..a3ec687 100644
--- a/scripts/training/cachepipe/CachePipe.pm
+++ b/scripts/training/cachepipe/CachePipe.pm
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # Matt Post <po...@cs.jhu.edu>
 
 package CachePipe;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/cachepipe/bashrc
----------------------------------------------------------------------
diff --git a/scripts/training/cachepipe/bashrc b/scripts/training/cachepipe/bashrc
index c8571fc..16f9162 100644
--- a/scripts/training/cachepipe/bashrc
+++ b/scripts/training/cachepipe/bashrc
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # This allows you to cache commands from the command line.
 # Usage:
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/mira/feature_label_munger.pl
----------------------------------------------------------------------
diff --git a/scripts/training/mira/feature_label_munger.pl b/scripts/training/mira/feature_label_munger.pl
index 27aa2fd..f6ba74f 100755
--- a/scripts/training/mira/feature_label_munger.pl
+++ b/scripts/training/mira/feature_label_munger.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # Joshua outputs features labels in the form of a list of "key=value"
 # pairs, while the Moses scripts expect "key= value" and also require

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/mira/run-mira.pl
----------------------------------------------------------------------
diff --git a/scripts/training/mira/run-mira.pl b/scripts/training/mira/run-mira.pl
index ff76494..8919d7c 100755
--- a/scripts/training/mira/run-mira.pl
+++ b/scripts/training/mira/run-mira.pl
@@ -1,4 +1,19 @@
 #!/usr/bin/perl -w 
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # $Id$
 # Usage:
 # mert-moses.pl <foreign> <english> <decoder-executable> <decoder-config>

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/parallelize/LocalConfig.pm
----------------------------------------------------------------------
diff --git a/scripts/training/parallelize/LocalConfig.pm b/scripts/training/parallelize/LocalConfig.pm
index f8e8530..8269cad 100644
--- a/scripts/training/parallelize/LocalConfig.pm
+++ b/scripts/training/parallelize/LocalConfig.pm
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 package LocalConfig;
 
 use strict;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/parallelize/Makefile
----------------------------------------------------------------------
diff --git a/scripts/training/parallelize/Makefile b/scripts/training/parallelize/Makefile
index 187b1af..5cb3d62 100644
--- a/scripts/training/parallelize/Makefile
+++ b/scripts/training/parallelize/Makefile
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 all: sentserver sentclient
 
 sentserver: sentserver.c

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/parallelize/parallelize.pl
----------------------------------------------------------------------
diff --git a/scripts/training/parallelize/parallelize.pl b/scripts/training/parallelize/parallelize.pl
index e4f16fe..b0e5992 100755
--- a/scripts/training/parallelize/parallelize.pl
+++ b/scripts/training/parallelize/parallelize.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # Author: Adam Lopez
 #

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/parallelize/sentclient.c
----------------------------------------------------------------------
diff --git a/scripts/training/parallelize/sentclient.c b/scripts/training/parallelize/sentclient.c
index d9fafd0..2413300 100644
--- a/scripts/training/parallelize/sentclient.c
+++ b/scripts/training/parallelize/sentclient.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 /* Copyright (c) 2001 by David Chiang. All rights reserved.*/
 
 #include <stdio.h>

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/parallelize/sentserver.c
----------------------------------------------------------------------
diff --git a/scripts/training/parallelize/sentserver.c b/scripts/training/parallelize/sentserver.c
index 0dc27a1..dac5ae9 100644
--- a/scripts/training/parallelize/sentserver.c
+++ b/scripts/training/parallelize/sentserver.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 /* Copyright (c) 2001 by David Chiang. All rights reserved.*/
 
 #include <string.h>

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/parallelize/sentserver.h
----------------------------------------------------------------------
diff --git a/scripts/training/parallelize/sentserver.h b/scripts/training/parallelize/sentserver.h
index cd17a54..ff1c5d4 100644
--- a/scripts/training/parallelize/sentserver.h
+++ b/scripts/training/parallelize/sentserver.h
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 #ifndef SENTSERVER_H
 #define SENTSERVER_H
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/paste
----------------------------------------------------------------------
diff --git a/scripts/training/paste b/scripts/training/paste
index 4a6f9bd..7a02b2b 100755
--- a/scripts/training/paste
+++ b/scripts/training/paste
@@ -1,4 +1,18 @@
 #!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # "Safe" version of paste that dies if the input files have different lengths.
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/scat
----------------------------------------------------------------------
diff --git a/scripts/training/scat b/scripts/training/scat
index ac11c95..8862932 100755
--- a/scripts/training/scat
+++ b/scripts/training/scat
@@ -1,4 +1,18 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # Smart cat: calls cat, zcat, or bzcat on each of a list of files, as
 # appropriate.

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/templates/alignment/word-align.conf
----------------------------------------------------------------------
diff --git a/scripts/training/templates/alignment/word-align.conf b/scripts/training/templates/alignment/word-align.conf
index 1622fb9..487112d 100644
--- a/scripts/training/templates/alignment/word-align.conf
+++ b/scripts/training/templates/alignment/word-align.conf
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 ## word-align.conf
 ## ----------------------
 ## This is an example training script for the Berkeley

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/fe482e9a/scripts/training/templates/tune/joshua.config
----------------------------------------------------------------------
diff --git a/scripts/training/templates/tune/joshua.config b/scripts/training/templates/tune/joshua.config
index 35f9cc8..2cf9faa 100644
--- a/scripts/training/templates/tune/joshua.config
+++ b/scripts/training/templates/tune/joshua.config
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # This file is a template for the Joshua pipeline; variables enclosed
 # in <angle-brackets> are substituted by the pipeline script as
 # appropriate.  This file also serves to document Joshua's many


[06/10] incubator-joshua git commit: JOSHUA-323 Joshua 6.1 Release Management

Posted by le...@apache.org.
JOSHUA-323 Joshua 6.1 Release Management


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/eb994e31
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/eb994e31
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/eb994e31

Branch: refs/heads/master
Commit: eb994e311a0c7593ad1899df6153b65585760cc8
Parents: c2c59d8
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Thu Nov 10 21:20:32 2016 -0800
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Thu Nov 10 21:20:32 2016 -0800

----------------------------------------------------------------------
 LICENSE                                         | 28 +++++++++++++++++++-
 demo/bootstrap/js/npm.js                        | 15 +++++++++++
 demo/demo.config                                | 15 +++++++++++
 demo/demo.js                                    | 19 +++++++++++++
 demo/index.html                                 | 16 +++++++++++
 demo/scripts/joshua.sh                          | 14 ++++++++++
 demo/scripts/web_server.py                      | 14 ++++++++++
 distribution/docker/ar-en-phrase/Dockerfile     | 15 +++++++++++
 distribution/docker/zh-en-hiero/Dockerfile      | 15 +++++++++++
 download-deps.sh                                | 14 ++++++++++
 pom.xml                                         |  7 +++++
 .../decoder/LanguageModelStateManager.java      | 18 +++++++++++++
 .../java/org/apache/joshua/decoder/LmPool.java  | 18 +++++++++++++
 13 files changed, 207 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index f49a4e1..0aa5e64 100644
--- a/LICENSE
+++ b/LICENSE
@@ -198,4 +198,30 @@
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
-   limitations under the License.
\ No newline at end of file
+   limitations under the License.
+
+The following libraries are all available under these terms of the MIT license
+
+  Permission is hereby granted, free of charge, to any person obtaining a copy
+  of this software and associated documentation files (the "Software"), to deal
+  in the Software without restriction, including without limitation the rights
+  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+  copies of the Software, and to permit persons to whom the Software is
+  furnished to do so, subject to the following conditions:
+
+  The above copyright notice and this permission notice shall be included in
+  all copies or substantial portions of the Software.
+
+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+  THE SOFTWARE.
+
+Bootstrap v3.3.6, an html, css, and javascript framework.
+Copyright (c) 2011-2015 Twitter, Inc.
+
+jquery 2.2.0, a javascript library.
+Copyright 2014 jQuery Foundation and other contributors, https://jquery.org/
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/demo/bootstrap/js/npm.js
----------------------------------------------------------------------
diff --git a/demo/bootstrap/js/npm.js b/demo/bootstrap/js/npm.js
index bf6aa80..8c2cdb6 100644
--- a/demo/bootstrap/js/npm.js
+++ b/demo/bootstrap/js/npm.js
@@ -1,3 +1,18 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements.  See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
 require('../../js/transition.js')
 require('../../js/alert.js')

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/demo/demo.config
----------------------------------------------------------------------
diff --git a/demo/demo.config b/demo/demo.config
index 4c29c9a..2a4c109 100644
--- a/demo/demo.config
+++ b/demo/demo.config
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 server-type = http
 server-port = 5674
 mark-oovs = true

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/demo/demo.js
----------------------------------------------------------------------
diff --git a/demo/demo.js b/demo/demo.js
index 131683b..28ef4e5 100644
--- a/demo/demo.js
+++ b/demo/demo.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 /* Global variables */
 var RULES;
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/demo/index.html
----------------------------------------------------------------------
diff --git a/demo/index.html b/demo/index.html
index 576c035..c9a9711 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -1,4 +1,20 @@
 <!DOCTYPE html>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
 <html lang="en">
   <head>
     <meta charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/demo/scripts/joshua.sh
----------------------------------------------------------------------
diff --git a/demo/scripts/joshua.sh b/demo/scripts/joshua.sh
index c42a10c..624a0fe 100755
--- a/demo/scripts/joshua.sh
+++ b/demo/scripts/joshua.sh
@@ -1,4 +1,18 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # Easy way to start up Joshua
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/demo/scripts/web_server.py
----------------------------------------------------------------------
diff --git a/demo/scripts/web_server.py b/demo/scripts/web_server.py
index 75ca3cc..77951b6 100755
--- a/demo/scripts/web_server.py
+++ b/demo/scripts/web_server.py
@@ -1,4 +1,18 @@
 #!/usr/bin/python
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 """
 Starts a web server on port 8000. Start it in the current directory and

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/distribution/docker/ar-en-phrase/Dockerfile
----------------------------------------------------------------------
diff --git a/distribution/docker/ar-en-phrase/Dockerfile b/distribution/docker/ar-en-phrase/Dockerfile
index c34e009..5b7d94c 100644
--- a/distribution/docker/ar-en-phrase/Dockerfile
+++ b/distribution/docker/ar-en-phrase/Dockerfile
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 FROM joshua
 
 ENV language_pack=ar-en-phrase

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/distribution/docker/zh-en-hiero/Dockerfile
----------------------------------------------------------------------
diff --git a/distribution/docker/zh-en-hiero/Dockerfile b/distribution/docker/zh-en-hiero/Dockerfile
index d49a804..4c099a1 100644
--- a/distribution/docker/zh-en-hiero/Dockerfile
+++ b/distribution/docker/zh-en-hiero/Dockerfile
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 FROM joshua
 
 ENV language_pack=zh-en-hiero

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/download-deps.sh
----------------------------------------------------------------------
diff --git a/download-deps.sh b/download-deps.sh
index 8fbdf69..637a631 100755
--- a/download-deps.sh
+++ b/download-deps.sh
@@ -1,4 +1,18 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 git clone https://github.com/kpu/kenlm.git ext/kenlm
 (cd ext/kenlm; git checkout 56fdb5c44fca34d5a2e07d96139c28fb163983c5)

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 540f0e1..6ca29c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -378,6 +378,13 @@
                 <exclude>KEYS</exclude>
                 <exclude>doap_joshua.rdf</exclude>
                 <exclude>src/test/**</exclude>
+                <exclude>demo/bootstrap/**</exclude>
+                <exclude>demo/README.md</exclude>
+                <exclude>distribution/joshua-full/icon.svg</exclude>
+                <exclude>distribution/joshua-full/README.md</exclude>
+                <exclude>distribution/joshua-runtime/icon.svg</exclude>
+                <exclude>distribution/joshua-runtime/README.md</exclude>
+                <exclude>examples/**</exclude>
               </excludes>
             </configuration>
           </plugin>

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/src/main/java/org/apache/joshua/decoder/LanguageModelStateManager.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/joshua/decoder/LanguageModelStateManager.java b/src/main/java/org/apache/joshua/decoder/LanguageModelStateManager.java
index 82c3212..7382013 100644
--- a/src/main/java/org/apache/joshua/decoder/LanguageModelStateManager.java
+++ b/src/main/java/org/apache/joshua/decoder/LanguageModelStateManager.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package org.apache.joshua.decoder;
 
 import org.apache.joshua.decoder.ff.lm.KenLM;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/eb994e31/src/main/java/org/apache/joshua/decoder/LmPool.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/joshua/decoder/LmPool.java b/src/main/java/org/apache/joshua/decoder/LmPool.java
index 73af0a6..b59be40 100644
--- a/src/main/java/org/apache/joshua/decoder/LmPool.java
+++ b/src/main/java/org/apache/joshua/decoder/LmPool.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package org.apache.joshua.decoder;
 
 import org.apache.joshua.decoder.ff.lm.KenLM;


[07/10] incubator-joshua git commit: JOSHUA-323 Joshua 6.1 Release Management

Posted by le...@apache.org.
JOSHUA-323 Joshua 6.1 Release Management


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/4d3e86b2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/4d3e86b2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/4d3e86b2

Branch: refs/heads/master
Commit: 4d3e86b2758517eebefe98d9a32c8d7463116ba6
Parents: eb994e3
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Fri Nov 11 02:04:38 2016 -0800
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Fri Nov 11 02:04:38 2016 -0800

----------------------------------------------------------------------
 scripts/analysis/sentence-by-sentence.pl             | 14 ++++++++++++++
 scripts/analysis/tree_visualizer                     | 14 ++++++++++++++
 scripts/copy-config.pl                               | 14 ++++++++++++++
 scripts/distributedLM/config.template                | 15 +++++++++++++++
 scripts/distributedLM/create_remote_sym_tbl.pl       | 14 ++++++++++++++
 scripts/distributedLM/filter_lm.pl                   | 14 ++++++++++++++
 scripts/distributedLM/get_grammar_eng_voc.pl         | 15 +++++++++++++++
 .../distributedLM/get_grammar_eng_voc_from_cn_voc.pl | 14 ++++++++++++++
 scripts/preparation/detokenize.pl                    | 14 ++++++++++++++
 scripts/preparation/lowercase.pl                     | 14 ++++++++++++++
 scripts/preparation/normalize.pl                     | 14 ++++++++++++++
 scripts/preparation/tokenize.pl                      | 14 ++++++++++++++
 scripts/support/bbn2plf.pl                           | 14 ++++++++++++++
 scripts/support/grammar-packer.pl                    | 14 ++++++++++++++
 scripts/support/moses2joshua.pl                      | 15 +++++++++++++++
 scripts/support/moses2joshua_grammar.pl              | 15 +++++++++++++++
 scripts/support/score-hypothesis.pl                  | 14 ++++++++++++++
 scripts/training/add-OOVs.pl                         | 15 +++++++++++++++
 scripts/training/build-vocab.pl                      | 14 ++++++++++++++
 scripts/training/filter-empty-lines.pl               | 15 +++++++++++++++
 scripts/training/filter-rules.pl                     | 14 ++++++++++++++
 scripts/training/get_grammar_features.pl             | 14 ++++++++++++++
 scripts/training/lowercase-leaves.pl                 | 14 ++++++++++++++
 scripts/training/paralign.pl                         | 14 ++++++++++++++
 scripts/training/pipeline.pl                         |  1 -
 scripts/training/run-giza.pl                         | 14 ++++++++++++++
 scripts/training/summarize.pl                        | 14 ++++++++++++++
 scripts/training/trim_parallel_corpus.pl             | 15 +++++++++++++++
 scripts/training/unmap-html.pl                       | 14 ++++++++++++++
 29 files changed, 399 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/analysis/sentence-by-sentence.pl
----------------------------------------------------------------------
diff --git a/scripts/analysis/sentence-by-sentence.pl b/scripts/analysis/sentence-by-sentence.pl
index 737aed1..54e8448 100755
--- a/scripts/analysis/sentence-by-sentence.pl
+++ b/scripts/analysis/sentence-by-sentence.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/perl -w
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 #sentence-by-sentence: take in a system output, with any number of factors, and a reference translation, also maybe with factors, and show each sentence and its errors
 #usage: sentence-by-sentence SYSOUT [REFERENCE]+ > sentences.html

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/analysis/tree_visualizer
----------------------------------------------------------------------
diff --git a/scripts/analysis/tree_visualizer b/scripts/analysis/tree_visualizer
index d4b5cd9..3cdd2d6 100755
--- a/scripts/analysis/tree_visualizer
+++ b/scripts/analysis/tree_visualizer
@@ -1,4 +1,18 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 #
 # tree_visualizer: a convenience script to launch the visualizer code that's
 # included with joshua.

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/copy-config.pl
----------------------------------------------------------------------
diff --git a/scripts/copy-config.pl b/scripts/copy-config.pl
index 2bb44f0..311fd5c 100755
--- a/scripts/copy-config.pl
+++ b/scripts/copy-config.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # Takes a config file on STDIN, and replaces each of the file arguments with those found on the
 # command line.  Parameters not found in the config file (and thus not replaceable) are appended to 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/distributedLM/config.template
----------------------------------------------------------------------
diff --git a/scripts/distributedLM/config.template b/scripts/distributedLM/config.template
index 9a040d2..0bbe908 100644
--- a/scripts/distributedLM/config.template
+++ b/scripts/distributedLM/config.template
@@ -1,4 +1,19 @@
 #lm config
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 use_srilm=true
 lm_ceiling_cost=100
 use_left_euqivalent_state=false

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/distributedLM/create_remote_sym_tbl.pl
----------------------------------------------------------------------
diff --git a/scripts/distributedLM/create_remote_sym_tbl.pl b/scripts/distributedLM/create_remote_sym_tbl.pl
index d842e4b..4e97610 100755
--- a/scripts/distributedLM/create_remote_sym_tbl.pl
+++ b/scripts/distributedLM/create_remote_sym_tbl.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/perl -w
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 $fvoc=$ARGV[0]; #LM&TM&globalsymbol VOC FILE
 $fsym=$ARGV[1]; #output

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/distributedLM/filter_lm.pl
----------------------------------------------------------------------
diff --git a/scripts/distributedLM/filter_lm.pl b/scripts/distributedLM/filter_lm.pl
index 0969194..22575d7 100755
--- a/scripts/distributedLM/filter_lm.pl
+++ b/scripts/distributedLM/filter_lm.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/perl -w
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 my $flm_in = $ARGV[0];
 my $fvoc = $ARGV[1];

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/distributedLM/get_grammar_eng_voc.pl
----------------------------------------------------------------------
diff --git a/scripts/distributedLM/get_grammar_eng_voc.pl b/scripts/distributedLM/get_grammar_eng_voc.pl
index b0ee9d4..9772d95 100755
--- a/scripts/distributedLM/get_grammar_eng_voc.pl
+++ b/scripts/distributedLM/get_grammar_eng_voc.pl
@@ -1,4 +1,19 @@
 #!/usr/bin/perl -w
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 #input is filtered grammar file
 #output is english vocabulary
 my %eng_voc=();

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/distributedLM/get_grammar_eng_voc_from_cn_voc.pl
----------------------------------------------------------------------
diff --git a/scripts/distributedLM/get_grammar_eng_voc_from_cn_voc.pl b/scripts/distributedLM/get_grammar_eng_voc_from_cn_voc.pl
index 2a79381..3115b1b 100755
--- a/scripts/distributedLM/get_grammar_eng_voc_from_cn_voc.pl
+++ b/scripts/distributedLM/get_grammar_eng_voc_from_cn_voc.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/perl -w
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 use Encode;
 #### get the eng voc of the phrase tbl based on the input chinese
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/preparation/detokenize.pl
----------------------------------------------------------------------
diff --git a/scripts/preparation/detokenize.pl b/scripts/preparation/detokenize.pl
index cfeec79..5d04b9a 100755
--- a/scripts/preparation/detokenize.pl
+++ b/scripts/preparation/detokenize.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 use warnings;
 use strict;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/preparation/lowercase.pl
----------------------------------------------------------------------
diff --git a/scripts/preparation/lowercase.pl b/scripts/preparation/lowercase.pl
index e5c41bb..e00c8b8 100755
--- a/scripts/preparation/lowercase.pl
+++ b/scripts/preparation/lowercase.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 use warnings;
 use strict;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/preparation/normalize.pl
----------------------------------------------------------------------
diff --git a/scripts/preparation/normalize.pl b/scripts/preparation/normalize.pl
index 55e34ef..1c2454b 100755
--- a/scripts/preparation/normalize.pl
+++ b/scripts/preparation/normalize.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # This script is distributed along with the datasets for the
 # shared translation task of the NAACL 2012 Workshop on Statistical Machine

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/preparation/tokenize.pl
----------------------------------------------------------------------
diff --git a/scripts/preparation/tokenize.pl b/scripts/preparation/tokenize.pl
index a5cae8d..43234cc 100755
--- a/scripts/preparation/tokenize.pl
+++ b/scripts/preparation/tokenize.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # Sample Tokenizer
 # written by Josh Schroeder, based on code by Philipp Koehn

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/support/bbn2plf.pl
----------------------------------------------------------------------
diff --git a/scripts/support/bbn2plf.pl b/scripts/support/bbn2plf.pl
index 25179af..db5140a 100755
--- a/scripts/support/bbn2plf.pl
+++ b/scripts/support/bbn2plf.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # Converts BBN FSMs (text format) to Lane Schwartz's PLF format.
 # Usage: cat BBN-FILE | bbn2plf.pl > PLF-FILE

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/support/grammar-packer.pl
----------------------------------------------------------------------
diff --git a/scripts/support/grammar-packer.pl b/scripts/support/grammar-packer.pl
index fab46cd..b8db301 100755
--- a/scripts/support/grammar-packer.pl
+++ b/scripts/support/grammar-packer.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # This script packs a grammar dense, unlabeled grammar, where we don't care what labels we give to
 # the feature functions.

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/support/moses2joshua.pl
----------------------------------------------------------------------
diff --git a/scripts/support/moses2joshua.pl b/scripts/support/moses2joshua.pl
index 3b1571c..26a73ce 100755
--- a/scripts/support/moses2joshua.pl
+++ b/scripts/support/moses2joshua.pl
@@ -1,4 +1,19 @@
 #!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # 2011-07-14 Matt Post <po...@cs.jhu.edu>
 
 # Converts a Moses configuration file to a Joshua configuration file

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/support/moses2joshua_grammar.pl
----------------------------------------------------------------------
diff --git a/scripts/support/moses2joshua_grammar.pl b/scripts/support/moses2joshua_grammar.pl
index 4ab2f33..2169e73 100755
--- a/scripts/support/moses2joshua_grammar.pl
+++ b/scripts/support/moses2joshua_grammar.pl
@@ -1,4 +1,19 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # Matt Post <po...@cs.jhu.edu>
 
 # Converts Moses grammars to a Joshua grammar. This script does not work for phrase tables;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/support/score-hypothesis.pl
----------------------------------------------------------------------
diff --git a/scripts/support/score-hypothesis.pl b/scripts/support/score-hypothesis.pl
index 4f5510c..54cf9e7 100755
--- a/scripts/support/score-hypothesis.pl
+++ b/scripts/support/score-hypothesis.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # Takes (1) a list of feature=value pairs and (2) a weight vector file and produces the score.
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/training/add-OOVs.pl
----------------------------------------------------------------------
diff --git a/scripts/training/add-OOVs.pl b/scripts/training/add-OOVs.pl
index cda2263..5f51b31 100755
--- a/scripts/training/add-OOVs.pl
+++ b/scripts/training/add-OOVs.pl
@@ -1,4 +1,19 @@
 #!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # Matt Post <2011-02-04>
 
 # Inserts an OOV tag above singleton nodes, using a modified

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/training/build-vocab.pl
----------------------------------------------------------------------
diff --git a/scripts/training/build-vocab.pl b/scripts/training/build-vocab.pl
index 775d0b7..c720ebc 100755
--- a/scripts/training/build-vocab.pl
+++ b/scripts/training/build-vocab.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # Takes a corpus of words on STDIN and builds a vocabulary with word
 # counts, writing them to STDOUT in the format

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/training/filter-empty-lines.pl
----------------------------------------------------------------------
diff --git a/scripts/training/filter-empty-lines.pl b/scripts/training/filter-empty-lines.pl
index 6a2c093..34365c1 100755
--- a/scripts/training/filter-empty-lines.pl
+++ b/scripts/training/filter-empty-lines.pl
@@ -1,4 +1,19 @@
 #!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # Matt Post <po...@cs.jhu.edu>
 
 # Takes a list of tab-separated strings on STDIN and prints the lines

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/training/filter-rules.pl
----------------------------------------------------------------------
diff --git a/scripts/training/filter-rules.pl b/scripts/training/filter-rules.pl
index 1240f64..9219517 100755
--- a/scripts/training/filter-rules.pl
+++ b/scripts/training/filter-rules.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # Removes rules from phrase tables and grammars according to various criteria.
 #

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/training/get_grammar_features.pl
----------------------------------------------------------------------
diff --git a/scripts/training/get_grammar_features.pl b/scripts/training/get_grammar_features.pl
index 31da72b..a751d47 100755
--- a/scripts/training/get_grammar_features.pl
+++ b/scripts/training/get_grammar_features.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 use warnings;
 use strict;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/training/lowercase-leaves.pl
----------------------------------------------------------------------
diff --git a/scripts/training/lowercase-leaves.pl b/scripts/training/lowercase-leaves.pl
index aa0b5c5..cdc2944 100755
--- a/scripts/training/lowercase-leaves.pl
+++ b/scripts/training/lowercase-leaves.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/perl -w
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # This script lowercases just the leaves of a tree, represented in
 # standard PTB form.

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/training/paralign.pl
----------------------------------------------------------------------
diff --git a/scripts/training/paralign.pl b/scripts/training/paralign.pl
index d41003a..0af19d3 100755
--- a/scripts/training/paralign.pl
+++ b/scripts/training/paralign.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 $| = 1;
 
 my $JOSHUA;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/training/pipeline.pl
----------------------------------------------------------------------
diff --git a/scripts/training/pipeline.pl b/scripts/training/pipeline.pl
index 6c4d154..f7fa346 100755
--- a/scripts/training/pipeline.pl
+++ b/scripts/training/pipeline.pl
@@ -1,5 +1,4 @@
 #!/usr/bin/env perl
-
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
 # this work for additional information regarding copyright ownership.

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/training/run-giza.pl
----------------------------------------------------------------------
diff --git a/scripts/training/run-giza.pl b/scripts/training/run-giza.pl
index e12c82b..4277e38 100755
--- a/scripts/training/run-giza.pl
+++ b/scripts/training/run-giza.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # This file runs GIZA++ in both directions.  It was taken from the
 # Moses decoder script train-model.perl.

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/training/summarize.pl
----------------------------------------------------------------------
diff --git a/scripts/training/summarize.pl b/scripts/training/summarize.pl
index f7ff6fe..75af859 100755
--- a/scripts/training/summarize.pl
+++ b/scripts/training/summarize.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 use strict;
 use warnings;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/training/trim_parallel_corpus.pl
----------------------------------------------------------------------
diff --git a/scripts/training/trim_parallel_corpus.pl b/scripts/training/trim_parallel_corpus.pl
index 00cf5bf..cc065ae 100755
--- a/scripts/training/trim_parallel_corpus.pl
+++ b/scripts/training/trim_parallel_corpus.pl
@@ -1,4 +1,19 @@
 #!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # Matt Post <po...@cs.jhu.edu>
 
 # Takes a list of tab-separated strings on STDIN and a single argument N, a threshold. If either of

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/4d3e86b2/scripts/training/unmap-html.pl
----------------------------------------------------------------------
diff --git a/scripts/training/unmap-html.pl b/scripts/training/unmap-html.pl
index 9a7865c..95a794c 100755
--- a/scripts/training/unmap-html.pl
+++ b/scripts/training/unmap-html.pl
@@ -1,4 +1,18 @@
 #!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 # Remove HTML codes from data.
 



[08/10] incubator-joshua git commit: JOSHUA-323 Joshua 6.1 Release Management

Posted by le...@apache.org.
JOSHUA-323 Joshua 6.1 Release Management


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/8c21101c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/8c21101c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/8c21101c

Branch: refs/heads/master
Commit: 8c21101c48bcefe302ec7422c6c737b73a0bceed
Parents: 4d3e86b
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Fri Nov 11 02:10:57 2016 -0800
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Fri Nov 11 02:10:57 2016 -0800

----------------------------------------------------------------------
 pom.xml                                           |  1 +
 scripts/training/templates/hadoop/core-site.xml   | 16 ++++++++++++++++
 scripts/training/templates/hadoop/hdfs-site.xml   | 16 ++++++++++++++++
 scripts/training/templates/hadoop/mapred-site.xml | 16 ++++++++++++++++
 scripts/training/templates/thrax-hiero.conf       | 15 +++++++++++++++
 scripts/training/templates/thrax-phrasal.conf     | 15 +++++++++++++++
 scripts/training/templates/thrax-phrase-gt.conf   | 15 +++++++++++++++
 scripts/training/templates/thrax-phrase.conf      | 15 +++++++++++++++
 scripts/training/templates/thrax-samt.conf        | 15 +++++++++++++++
 9 files changed, 124 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/8c21101c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6ca29c8..766d7a8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -385,6 +385,7 @@
                 <exclude>distribution/joshua-runtime/icon.svg</exclude>
                 <exclude>distribution/joshua-runtime/README.md</exclude>
                 <exclude>examples/**</exclude>
+                <exclude>scripts/preparation/nonbreaking_prefixes/**</exclude>
               </excludes>
             </configuration>
           </plugin>

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/8c21101c/scripts/training/templates/hadoop/core-site.xml
----------------------------------------------------------------------
diff --git a/scripts/training/templates/hadoop/core-site.xml b/scripts/training/templates/hadoop/core-site.xml
index 6c5571f..a3d9d36 100644
--- a/scripts/training/templates/hadoop/core-site.xml
+++ b/scripts/training/templates/hadoop/core-site.xml
@@ -1,3 +1,19 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
 <configuration>
   <property>
     <name>hadoop.tmp.dir</name>

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/8c21101c/scripts/training/templates/hadoop/hdfs-site.xml
----------------------------------------------------------------------
diff --git a/scripts/training/templates/hadoop/hdfs-site.xml b/scripts/training/templates/hadoop/hdfs-site.xml
index 015b159..7871478 100644
--- a/scripts/training/templates/hadoop/hdfs-site.xml
+++ b/scripts/training/templates/hadoop/hdfs-site.xml
@@ -1,3 +1,19 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
 <configuration>
  <property>
     <name>dfs.replication</name>

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/8c21101c/scripts/training/templates/hadoop/mapred-site.xml
----------------------------------------------------------------------
diff --git a/scripts/training/templates/hadoop/mapred-site.xml b/scripts/training/templates/hadoop/mapred-site.xml
index 104a7c7..f28c67d 100644
--- a/scripts/training/templates/hadoop/mapred-site.xml
+++ b/scripts/training/templates/hadoop/mapred-site.xml
@@ -1,3 +1,19 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
 <configuration>
   <property>
     <name>mapred.job.tracker</name>

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/8c21101c/scripts/training/templates/thrax-hiero.conf
----------------------------------------------------------------------
diff --git a/scripts/training/templates/thrax-hiero.conf b/scripts/training/templates/thrax-hiero.conf
index cd33e6b..b38098a 100644
--- a/scripts/training/templates/thrax-hiero.conf
+++ b/scripts/training/templates/thrax-hiero.conf
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # this is an example Thrax configuration file
 # <- this symbol indicates a comment
 # each line should be a key-value pair separated by whitespace

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/8c21101c/scripts/training/templates/thrax-phrasal.conf
----------------------------------------------------------------------
diff --git a/scripts/training/templates/thrax-phrasal.conf b/scripts/training/templates/thrax-phrasal.conf
index 883cf04..380b230 100644
--- a/scripts/training/templates/thrax-phrasal.conf
+++ b/scripts/training/templates/thrax-phrasal.conf
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # this is an example Thrax configuration file
 # <- this symbol indicates a comment
 # each line should be a key-value pair separated by whitespace

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/8c21101c/scripts/training/templates/thrax-phrase-gt.conf
----------------------------------------------------------------------
diff --git a/scripts/training/templates/thrax-phrase-gt.conf b/scripts/training/templates/thrax-phrase-gt.conf
index 5d2efe4..0bfd815 100644
--- a/scripts/training/templates/thrax-phrase-gt.conf
+++ b/scripts/training/templates/thrax-phrase-gt.conf
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # this is an example Thrax configuration file
 # <- this symbol indicates a comment
 # each line should be a key-value pair separated by whitespace

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/8c21101c/scripts/training/templates/thrax-phrase.conf
----------------------------------------------------------------------
diff --git a/scripts/training/templates/thrax-phrase.conf b/scripts/training/templates/thrax-phrase.conf
index 3c89a22..fbf113a 100644
--- a/scripts/training/templates/thrax-phrase.conf
+++ b/scripts/training/templates/thrax-phrase.conf
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # this is an example Thrax configuration file
 # <- this symbol indicates a comment
 # each line should be a key-value pair separated by whitespace

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/8c21101c/scripts/training/templates/thrax-samt.conf
----------------------------------------------------------------------
diff --git a/scripts/training/templates/thrax-samt.conf b/scripts/training/templates/thrax-samt.conf
index 5460a41..48aa2b1 100644
--- a/scripts/training/templates/thrax-samt.conf
+++ b/scripts/training/templates/thrax-samt.conf
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # this is an example Thrax configuration file
 # <- this symbol indicates a comment
 # each line should be a key-value pair separated by whitespace


[04/10] incubator-joshua git commit: JOSHUA-323 Joshua 6.1 Release Management

Posted by le...@apache.org.
JOSHUA-323 Joshua 6.1 Release Management


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/c733f45a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/c733f45a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/c733f45a

Branch: refs/heads/master
Commit: c733f45a020034bd05318a8dd31ff4d84aebe19a
Parents: 10bfa31
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Thu Nov 10 20:59:23 2016 -0800
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Thu Nov 10 20:59:23 2016 -0800

----------------------------------------------------------------------
 pom.xml | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/c733f45a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 005c1c0..0005144 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,7 +42,9 @@
     <maven-source-plugin.version>3.0.1</maven-source-plugin.version>
     <maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
     <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
+    <maven-release-plugin.version>2.5.3</maven-release-plugin.version>
     <checksum-maven-plugin.version>1.3</checksum-maven-plugin.version>
+    <maven-scm-provider-gitexe.version>1.9.5</maven-scm-provider-gitexe.version>
     <javac.src.version>1.8</javac.src.version>
     <javac.target.version>1.8</javac.target.version>
   </properties>
@@ -144,6 +146,26 @@
             <maxRank>16</maxRank>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-release-plugin</artifactId>
+          <version>${maven-release-plugin.version}</version>
+          <configuration>
+            <preparationGoals>install</preparationGoals>
+            <mavenExecutorId>forked-path</mavenExecutorId>
+            <useReleaseProfile>false</useReleaseProfile>
+            <tagNameFormat>apache-joshua-@{project.version}</tagNameFormat>
+            <arguments>-Papache-release,release</arguments>
+            <autoVersionSubmodules>true</autoVersionSubmodules>
+          </configuration>
+          <dependencies>
+            <dependency>
+              <groupId>org.apache.maven.scm</groupId>
+              <artifactId>maven-scm-provider-gitexe</artifactId>
+              <version>${maven-scm-provider-gitexe.version}</version>
+            </dependency>
+          </dependencies>
+        </plugin>
       </plugins>
     </pluginManagement>
 
@@ -334,7 +356,8 @@
                   <patterns>
                     <pattern>Licensed to the Apache Software Foundation
                       (ASF) under
-                      one or more contributor license agreements.</pattern>
+                      one or more contributor license
+                      agreements.</pattern>
                   </patterns>
                 </license>
               </licenses>