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

[1/4] incubator-joshua git commit: JOSHUA-248 - applied AL2 header, first pass

Repository: incubator-joshua
Updated Branches:
  refs/heads/master 28e7c2293 -> 011668ce8


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/JoshuaEval.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/JoshuaEval.java b/src/joshua/util/JoshuaEval.java
index 5480d49..6e12de5 100644
--- a/src/joshua/util/JoshuaEval.java
+++ b/src/joshua/util/JoshuaEval.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 joshua.util;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/ListUtil.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/ListUtil.java b/src/joshua/util/ListUtil.java
index 0512b73..0ef5190 100644
--- a/src/joshua/util/ListUtil.java
+++ b/src/joshua/util/ListUtil.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 joshua.util;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/Lists.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/Lists.java b/src/joshua/util/Lists.java
index f8fbd53..8f51cc0 100644
--- a/src/joshua/util/Lists.java
+++ b/src/joshua/util/Lists.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 joshua.util;
 
 import java.util.Iterator;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/NBestListUtility.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/NBestListUtility.java b/src/joshua/util/NBestListUtility.java
index 8ccb846..257f3c0 100644
--- a/src/joshua/util/NBestListUtility.java
+++ b/src/joshua/util/NBestListUtility.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 joshua.util;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/Ngram.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/Ngram.java b/src/joshua/util/Ngram.java
index b621d80..7ee1703 100644
--- a/src/joshua/util/Ngram.java
+++ b/src/joshua/util/Ngram.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 joshua.util;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/NullIterator.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/NullIterator.java b/src/joshua/util/NullIterator.java
index 5030943..ca0b8dd 100644
--- a/src/joshua/util/NullIterator.java
+++ b/src/joshua/util/NullIterator.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 joshua.util;
 
 import java.util.Iterator;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/PackedGrammarServer.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/PackedGrammarServer.java b/src/joshua/util/PackedGrammarServer.java
index 6ca529d..3eb6eaf 100644
--- a/src/joshua/util/PackedGrammarServer.java
+++ b/src/joshua/util/PackedGrammarServer.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 joshua.util;
 
 import java.io.FileNotFoundException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/Pair.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/Pair.java b/src/joshua/util/Pair.java
index e694b06..08bf08c 100644
--- a/src/joshua/util/Pair.java
+++ b/src/joshua/util/Pair.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 joshua.util;
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/Platform.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/Platform.java b/src/joshua/util/Platform.java
index 9dcba6a..a14ee7e 100644
--- a/src/joshua/util/Platform.java
+++ b/src/joshua/util/Platform.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 joshua.util;
 
 public class Platform {

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/QuietFormatter.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/QuietFormatter.java b/src/joshua/util/QuietFormatter.java
index e2cda88..f8340a1 100644
--- a/src/joshua/util/QuietFormatter.java
+++ b/src/joshua/util/QuietFormatter.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 joshua.util;
 
 import java.util.logging.Formatter;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/Regex.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/Regex.java b/src/joshua/util/Regex.java
index b7966ba..91df031 100644
--- a/src/joshua/util/Regex.java
+++ b/src/joshua/util/Regex.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 joshua.util;
 
 import java.util.regex.Pattern;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/ReverseOrder.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/ReverseOrder.java b/src/joshua/util/ReverseOrder.java
index 797dfa7..32b0c58 100644
--- a/src/joshua/util/ReverseOrder.java
+++ b/src/joshua/util/ReverseOrder.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 joshua.util;
 
 import java.util.Comparator;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/SampledList.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/SampledList.java b/src/joshua/util/SampledList.java
index 60aca29..0aab3bd 100644
--- a/src/joshua/util/SampledList.java
+++ b/src/joshua/util/SampledList.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 joshua.util;
 
 import java.util.AbstractList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/SocketUtility.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/SocketUtility.java b/src/joshua/util/SocketUtility.java
index 182a409..db12a21 100644
--- a/src/joshua/util/SocketUtility.java
+++ b/src/joshua/util/SocketUtility.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 joshua.util;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/StreamGobbler.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/StreamGobbler.java b/src/joshua/util/StreamGobbler.java
index 70a85fc..965d926 100644
--- a/src/joshua/util/StreamGobbler.java
+++ b/src/joshua/util/StreamGobbler.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 joshua.util;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/UnicodeCharacterName.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/UnicodeCharacterName.java b/src/joshua/util/UnicodeCharacterName.java
index 39e1640..06b4b88 100644
--- a/src/joshua/util/UnicodeCharacterName.java
+++ b/src/joshua/util/UnicodeCharacterName.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 joshua.util;
 
 import java.util.HashMap;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/encoding/Analyzer.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/encoding/Analyzer.java b/src/joshua/util/encoding/Analyzer.java
index 5b47395..e85c133 100644
--- a/src/joshua/util/encoding/Analyzer.java
+++ b/src/joshua/util/encoding/Analyzer.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 joshua.util.encoding;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/encoding/EightBitQuantizer.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/encoding/EightBitQuantizer.java b/src/joshua/util/encoding/EightBitQuantizer.java
index 6a6d2e6..2a8e014 100644
--- a/src/joshua/util/encoding/EightBitQuantizer.java
+++ b/src/joshua/util/encoding/EightBitQuantizer.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 joshua.util.encoding;
 
 import java.io.DataInputStream;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/encoding/EncoderConfiguration.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/encoding/EncoderConfiguration.java b/src/joshua/util/encoding/EncoderConfiguration.java
index da3bc4e..6cabf09 100644
--- a/src/joshua/util/encoding/EncoderConfiguration.java
+++ b/src/joshua/util/encoding/EncoderConfiguration.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 joshua.util.encoding;
 
 import java.io.BufferedInputStream;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/encoding/EncoderFactory.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/encoding/EncoderFactory.java b/src/joshua/util/encoding/EncoderFactory.java
index d522d95..1cb25e2 100644
--- a/src/joshua/util/encoding/EncoderFactory.java
+++ b/src/joshua/util/encoding/EncoderFactory.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 joshua.util.encoding;
 
 public class EncoderFactory {

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/encoding/FeatureTypeAnalyzer.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/encoding/FeatureTypeAnalyzer.java b/src/joshua/util/encoding/FeatureTypeAnalyzer.java
index b1e9a10..c9b77e9 100644
--- a/src/joshua/util/encoding/FeatureTypeAnalyzer.java
+++ b/src/joshua/util/encoding/FeatureTypeAnalyzer.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 joshua.util.encoding;
 
 import java.io.BufferedOutputStream;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/encoding/FloatEncoder.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/encoding/FloatEncoder.java b/src/joshua/util/encoding/FloatEncoder.java
index aa3ffc9..9841db3 100644
--- a/src/joshua/util/encoding/FloatEncoder.java
+++ b/src/joshua/util/encoding/FloatEncoder.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 joshua.util.encoding;
 
 import java.io.DataInputStream;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/encoding/IntEncoder.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/encoding/IntEncoder.java b/src/joshua/util/encoding/IntEncoder.java
index e97ed43..0c79ae8 100644
--- a/src/joshua/util/encoding/IntEncoder.java
+++ b/src/joshua/util/encoding/IntEncoder.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 joshua.util.encoding;
 
 import java.io.DataInputStream;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/encoding/PrimitiveFloatEncoder.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/encoding/PrimitiveFloatEncoder.java b/src/joshua/util/encoding/PrimitiveFloatEncoder.java
index 6471dfe..f43c29b 100644
--- a/src/joshua/util/encoding/PrimitiveFloatEncoder.java
+++ b/src/joshua/util/encoding/PrimitiveFloatEncoder.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 joshua.util.encoding;
 
 import java.io.DataInputStream;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/encoding/PrimitiveIntEncoder.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/encoding/PrimitiveIntEncoder.java b/src/joshua/util/encoding/PrimitiveIntEncoder.java
index 48ae487..441d5f9 100644
--- a/src/joshua/util/encoding/PrimitiveIntEncoder.java
+++ b/src/joshua/util/encoding/PrimitiveIntEncoder.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 joshua.util.encoding;
 
 import java.io.DataInputStream;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/encoding/VariableQuantizer.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/encoding/VariableQuantizer.java b/src/joshua/util/encoding/VariableQuantizer.java
index 88a5448..42f0931 100644
--- a/src/joshua/util/encoding/VariableQuantizer.java
+++ b/src/joshua/util/encoding/VariableQuantizer.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 joshua.util.encoding;
 
 public class VariableQuantizer {

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/io/BinaryIn.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/io/BinaryIn.java b/src/joshua/util/io/BinaryIn.java
index 8eccb56..c6caf4f 100644
--- a/src/joshua/util/io/BinaryIn.java
+++ b/src/joshua/util/io/BinaryIn.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 joshua.util.io;
 
 import java.io.DataInput;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/io/BinaryOut.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/io/BinaryOut.java b/src/joshua/util/io/BinaryOut.java
index 1fad94c..f5b96f2 100644
--- a/src/joshua/util/io/BinaryOut.java
+++ b/src/joshua/util/io/BinaryOut.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 joshua.util.io;
 
 import java.io.Closeable;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/io/IndexedReader.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/io/IndexedReader.java b/src/joshua/util/io/IndexedReader.java
index e36a79f..07c251e 100644
--- a/src/joshua/util/io/IndexedReader.java
+++ b/src/joshua/util/io/IndexedReader.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 joshua.util.io;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/io/LineReader.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/io/LineReader.java b/src/joshua/util/io/LineReader.java
index ad60b5e..a4f9fe0 100644
--- a/src/joshua/util/io/LineReader.java
+++ b/src/joshua/util/io/LineReader.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 joshua.util.io;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/io/NullReader.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/io/NullReader.java b/src/joshua/util/io/NullReader.java
index 027a07e..903557e 100644
--- a/src/joshua/util/io/NullReader.java
+++ b/src/joshua/util/io/NullReader.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 joshua.util.io;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/io/ProgressInputStream.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/io/ProgressInputStream.java b/src/joshua/util/io/ProgressInputStream.java
index 1459920..8bdf6c4 100644
--- a/src/joshua/util/io/ProgressInputStream.java
+++ b/src/joshua/util/io/ProgressInputStream.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 joshua.util.io;
 
 import java.io.FilterInputStream;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/io/Reader.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/io/Reader.java b/src/joshua/util/io/Reader.java
index 2a072d3..021cdd2 100644
--- a/src/joshua/util/io/Reader.java
+++ b/src/joshua/util/io/Reader.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 joshua.util.io;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/zmert/IntermediateOptimizer.java
----------------------------------------------------------------------
diff --git a/src/joshua/zmert/IntermediateOptimizer.java b/src/joshua/zmert/IntermediateOptimizer.java
index 5e11a5d..68b2463 100644
--- a/src/joshua/zmert/IntermediateOptimizer.java
+++ b/src/joshua/zmert/IntermediateOptimizer.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 joshua.zmert;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/zmert/MertCore.java
----------------------------------------------------------------------
diff --git a/src/joshua/zmert/MertCore.java b/src/joshua/zmert/MertCore.java
index 81aff06..0e96347 100644
--- a/src/joshua/zmert/MertCore.java
+++ b/src/joshua/zmert/MertCore.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 joshua.zmert;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/zmert/ZMERT.java
----------------------------------------------------------------------
diff --git a/src/joshua/zmert/ZMERT.java b/src/joshua/zmert/ZMERT.java
index 13a974a..45f79db 100644
--- a/src/joshua/zmert/ZMERT.java
+++ b/src/joshua/zmert/ZMERT.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 joshua.zmert;
 
 import java.io.BufferedReader;



[3/4] incubator-joshua git commit: JOSHUA-248 - applied AL2 header, first pass

Posted by to...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/fragmentlm/Trees.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/fragmentlm/Trees.java b/src/joshua/decoder/ff/fragmentlm/Trees.java
index 1b8be83..94a0f44 100644
--- a/src/joshua/decoder/ff/fragmentlm/Trees.java
+++ b/src/joshua/decoder/ff/fragmentlm/Trees.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 joshua.decoder.ff.fragmentlm;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/DefaultNGramLanguageModel.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/lm/DefaultNGramLanguageModel.java b/src/joshua/decoder/ff/lm/DefaultNGramLanguageModel.java
index a1d4b86..20f29f1 100644
--- a/src/joshua/decoder/ff/lm/DefaultNGramLanguageModel.java
+++ b/src/joshua/decoder/ff/lm/DefaultNGramLanguageModel.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 joshua.decoder.ff.lm;
 
 import java.util.Arrays;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/KenLM.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/lm/KenLM.java b/src/joshua/decoder/ff/lm/KenLM.java
index 4202e1c..be1f1e2 100644
--- a/src/joshua/decoder/ff/lm/KenLM.java
+++ b/src/joshua/decoder/ff/lm/KenLM.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 joshua.decoder.ff.lm;
 
 import joshua.decoder.ff.lm.NGramLanguageModel;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/LanguageModelFF.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/lm/LanguageModelFF.java b/src/joshua/decoder/ff/lm/LanguageModelFF.java
index 869ddae..4c98704 100644
--- a/src/joshua/decoder/ff/lm/LanguageModelFF.java
+++ b/src/joshua/decoder/ff/lm/LanguageModelFF.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 joshua.decoder.ff.lm;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/NGramLanguageModel.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/lm/NGramLanguageModel.java b/src/joshua/decoder/ff/lm/NGramLanguageModel.java
index 108246c..15da650 100644
--- a/src/joshua/decoder/ff/lm/NGramLanguageModel.java
+++ b/src/joshua/decoder/ff/lm/NGramLanguageModel.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 joshua.decoder.ff.lm;
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/StateMinimizingLanguageModel.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/lm/StateMinimizingLanguageModel.java b/src/joshua/decoder/ff/lm/StateMinimizingLanguageModel.java
index e6a340e..8f2b8a3 100644
--- a/src/joshua/decoder/ff/lm/StateMinimizingLanguageModel.java
+++ b/src/joshua/decoder/ff/lm/StateMinimizingLanguageModel.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 joshua.decoder.ff.lm;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/berkeley_lm/LMGrammarBerkeley.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/lm/berkeley_lm/LMGrammarBerkeley.java b/src/joshua/decoder/ff/lm/berkeley_lm/LMGrammarBerkeley.java
index 6fd0730..d5728cf 100644
--- a/src/joshua/decoder/ff/lm/berkeley_lm/LMGrammarBerkeley.java
+++ b/src/joshua/decoder/ff/lm/berkeley_lm/LMGrammarBerkeley.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 joshua.decoder.ff.lm.berkeley_lm;
 
 import java.io.File;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/berkeley_lm/SymbolTableWrapper.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/lm/berkeley_lm/SymbolTableWrapper.java b/src/joshua/decoder/ff/lm/berkeley_lm/SymbolTableWrapper.java
index 23bc677..a45dd7f 100644
--- a/src/joshua/decoder/ff/lm/berkeley_lm/SymbolTableWrapper.java
+++ b/src/joshua/decoder/ff/lm/berkeley_lm/SymbolTableWrapper.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 joshua.decoder.ff.lm.berkeley_lm;
 
 import joshua.corpus.Vocabulary;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilter.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilter.java b/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilter.java
index f792be0..7f0b6a4 100644
--- a/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilter.java
+++ b/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilter.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 joshua.decoder.ff.lm.bloomfilter_lm;
 
 import java.io.Externalizable;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilterLanguageModel.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilterLanguageModel.java b/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilterLanguageModel.java
index 7a5324b..c91fe38 100644
--- a/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilterLanguageModel.java
+++ b/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilterLanguageModel.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 joshua.decoder.ff.lm.bloomfilter_lm;
 
 import java.io.Externalizable;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/phrase/Distortion.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/phrase/Distortion.java b/src/joshua/decoder/ff/phrase/Distortion.java
index 959a0d7..15aced8 100644
--- a/src/joshua/decoder/ff/phrase/Distortion.java
+++ b/src/joshua/decoder/ff/phrase/Distortion.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 joshua.decoder.ff.phrase;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/similarity/EdgePhraseSimilarityFF.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/similarity/EdgePhraseSimilarityFF.java b/src/joshua/decoder/ff/similarity/EdgePhraseSimilarityFF.java
index a8eaa21..22c3733 100644
--- a/src/joshua/decoder/ff/similarity/EdgePhraseSimilarityFF.java
+++ b/src/joshua/decoder/ff/similarity/EdgePhraseSimilarityFF.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 joshua.decoder.ff.similarity;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/state_maintenance/DPState.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/state_maintenance/DPState.java b/src/joshua/decoder/ff/state_maintenance/DPState.java
index 3cebddd..1a02a90 100644
--- a/src/joshua/decoder/ff/state_maintenance/DPState.java
+++ b/src/joshua/decoder/ff/state_maintenance/DPState.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 joshua.decoder.ff.state_maintenance;
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/state_maintenance/KenLMState.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/state_maintenance/KenLMState.java b/src/joshua/decoder/ff/state_maintenance/KenLMState.java
index 25542f6..906f8d8 100644
--- a/src/joshua/decoder/ff/state_maintenance/KenLMState.java
+++ b/src/joshua/decoder/ff/state_maintenance/KenLMState.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 joshua.decoder.ff.state_maintenance;
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/state_maintenance/NgramDPState.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/state_maintenance/NgramDPState.java b/src/joshua/decoder/ff/state_maintenance/NgramDPState.java
index c5b3002..b72a5ba 100644
--- a/src/joshua/decoder/ff/state_maintenance/NgramDPState.java
+++ b/src/joshua/decoder/ff/state_maintenance/NgramDPState.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 joshua.decoder.ff.state_maintenance;
 
 import java.util.Arrays;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/AbstractGrammar.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/AbstractGrammar.java b/src/joshua/decoder/ff/tm/AbstractGrammar.java
index 65c792e..8cfb2ad 100644
--- a/src/joshua/decoder/ff/tm/AbstractGrammar.java
+++ b/src/joshua/decoder/ff/tm/AbstractGrammar.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 joshua.decoder.ff.tm;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/BasicRuleCollection.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/BasicRuleCollection.java b/src/joshua/decoder/ff/tm/BasicRuleCollection.java
index 2b30450..6dda7f7 100644
--- a/src/joshua/decoder/ff/tm/BasicRuleCollection.java
+++ b/src/joshua/decoder/ff/tm/BasicRuleCollection.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 joshua.decoder.ff.tm;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/CreateGlueGrammar.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/CreateGlueGrammar.java b/src/joshua/decoder/ff/tm/CreateGlueGrammar.java
index 1e648a1..51e9fc3 100644
--- a/src/joshua/decoder/ff/tm/CreateGlueGrammar.java
+++ b/src/joshua/decoder/ff/tm/CreateGlueGrammar.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 joshua.decoder.ff.tm;
 
 import static joshua.decoder.ff.tm.packed.PackedGrammar.VOCABULARY_FILENAME;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/Grammar.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/Grammar.java b/src/joshua/decoder/ff/tm/Grammar.java
index bd755ad..a834442 100644
--- a/src/joshua/decoder/ff/tm/Grammar.java
+++ b/src/joshua/decoder/ff/tm/Grammar.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 joshua.decoder.ff.tm;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/GrammarReader.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/GrammarReader.java b/src/joshua/decoder/ff/tm/GrammarReader.java
index 2ea5f2e..f94a472 100644
--- a/src/joshua/decoder/ff/tm/GrammarReader.java
+++ b/src/joshua/decoder/ff/tm/GrammarReader.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 joshua.decoder.ff.tm;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/PhraseRule.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/PhraseRule.java b/src/joshua/decoder/ff/tm/PhraseRule.java
index 8530aa0..8f5d249 100644
--- a/src/joshua/decoder/ff/tm/PhraseRule.java
+++ b/src/joshua/decoder/ff/tm/PhraseRule.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 joshua.decoder.ff.tm;
 
 import com.google.common.base.Supplier;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/Rule.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/Rule.java b/src/joshua/decoder/ff/tm/Rule.java
index abef4b7..9f1fb8f 100644
--- a/src/joshua/decoder/ff/tm/Rule.java
+++ b/src/joshua/decoder/ff/tm/Rule.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 joshua.decoder.ff.tm;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/RuleCollection.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/RuleCollection.java b/src/joshua/decoder/ff/tm/RuleCollection.java
index 858c243..6812fd5 100644
--- a/src/joshua/decoder/ff/tm/RuleCollection.java
+++ b/src/joshua/decoder/ff/tm/RuleCollection.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 joshua.decoder.ff.tm;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/SentenceFilteredGrammar.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/SentenceFilteredGrammar.java b/src/joshua/decoder/ff/tm/SentenceFilteredGrammar.java
index 424ab4f..694430b 100644
--- a/src/joshua/decoder/ff/tm/SentenceFilteredGrammar.java
+++ b/src/joshua/decoder/ff/tm/SentenceFilteredGrammar.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 joshua.decoder.ff.tm;
 
 import java.util.Collection;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/Trie.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/Trie.java b/src/joshua/decoder/ff/tm/Trie.java
index d24468d..df481d6 100644
--- a/src/joshua/decoder/ff/tm/Trie.java
+++ b/src/joshua/decoder/ff/tm/Trie.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 joshua.decoder.ff.tm;
 
 import java.util.Collection;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/UnsortedRuleCollectionException.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/UnsortedRuleCollectionException.java b/src/joshua/decoder/ff/tm/UnsortedRuleCollectionException.java
index b71adec..71fe6b2 100644
--- a/src/joshua/decoder/ff/tm/UnsortedRuleCollectionException.java
+++ b/src/joshua/decoder/ff/tm/UnsortedRuleCollectionException.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 joshua.decoder.ff.tm;
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/format/HieroFormatReader.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/format/HieroFormatReader.java b/src/joshua/decoder/ff/tm/format/HieroFormatReader.java
index d2fa405..a47813d 100644
--- a/src/joshua/decoder/ff/tm/format/HieroFormatReader.java
+++ b/src/joshua/decoder/ff/tm/format/HieroFormatReader.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 joshua.decoder.ff.tm.format;
 
 import joshua.corpus.Vocabulary;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/format/PhraseFormatReader.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/format/PhraseFormatReader.java b/src/joshua/decoder/ff/tm/format/PhraseFormatReader.java
index 1d15227..be4d522 100644
--- a/src/joshua/decoder/ff/tm/format/PhraseFormatReader.java
+++ b/src/joshua/decoder/ff/tm/format/PhraseFormatReader.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 joshua.decoder.ff.tm.format;
 
 import joshua.corpus.Vocabulary;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/format/SamtFormatReader.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/format/SamtFormatReader.java b/src/joshua/decoder/ff/tm/format/SamtFormatReader.java
index 50630cb..6539d38 100644
--- a/src/joshua/decoder/ff/tm/format/SamtFormatReader.java
+++ b/src/joshua/decoder/ff/tm/format/SamtFormatReader.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 joshua.decoder.ff.tm.format;
 
 import java.util.logging.Logger;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/hash_based/ExtensionIterator.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/hash_based/ExtensionIterator.java b/src/joshua/decoder/ff/tm/hash_based/ExtensionIterator.java
index 2adea9e..d6b5b97 100644
--- a/src/joshua/decoder/ff/tm/hash_based/ExtensionIterator.java
+++ b/src/joshua/decoder/ff/tm/hash_based/ExtensionIterator.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 joshua.decoder.ff.tm.hash_based;
 
 import java.util.HashMap;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.java b/src/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.java
index 0f67c27..4ba514a 100644
--- a/src/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.java
+++ b/src/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.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 joshua.decoder.ff.tm.hash_based;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/hash_based/MemoryBasedRuleBin.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/hash_based/MemoryBasedRuleBin.java b/src/joshua/decoder/ff/tm/hash_based/MemoryBasedRuleBin.java
index 907d36f..194c594 100644
--- a/src/joshua/decoder/ff/tm/hash_based/MemoryBasedRuleBin.java
+++ b/src/joshua/decoder/ff/tm/hash_based/MemoryBasedRuleBin.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 joshua.decoder.ff.tm.hash_based;
 
 import joshua.decoder.ff.tm.BasicRuleCollection;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/hash_based/MemoryBasedTrie.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/hash_based/MemoryBasedTrie.java b/src/joshua/decoder/ff/tm/hash_based/MemoryBasedTrie.java
index 7694ca2..baa46f7 100644
--- a/src/joshua/decoder/ff/tm/hash_based/MemoryBasedTrie.java
+++ b/src/joshua/decoder/ff/tm/hash_based/MemoryBasedTrie.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 joshua.decoder.ff.tm.hash_based;
 
 import java.util.Collection;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/packed/PackedGrammar.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/packed/PackedGrammar.java b/src/joshua/decoder/ff/tm/packed/PackedGrammar.java
index a4c47d2..3190a97 100644
--- a/src/joshua/decoder/ff/tm/packed/PackedGrammar.java
+++ b/src/joshua/decoder/ff/tm/packed/PackedGrammar.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 joshua.decoder.ff.tm.packed;
 
 /***

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/packed/SliceAggregatingTrie.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/tm/packed/SliceAggregatingTrie.java b/src/joshua/decoder/ff/tm/packed/SliceAggregatingTrie.java
index 62783fd..0cb7e26 100644
--- a/src/joshua/decoder/ff/tm/packed/SliceAggregatingTrie.java
+++ b/src/joshua/decoder/ff/tm/packed/SliceAggregatingTrie.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 joshua.decoder.ff.tm.packed;
 
 import static java.util.Collections.emptyList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/AllSpansWalker.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/AllSpansWalker.java b/src/joshua/decoder/hypergraph/AllSpansWalker.java
index 5badca8..9f2ec36 100644
--- a/src/joshua/decoder/hypergraph/AllSpansWalker.java
+++ b/src/joshua/decoder/hypergraph/AllSpansWalker.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 joshua.decoder.hypergraph;
 
 import java.util.HashSet;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/DefaultInsideOutside.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/DefaultInsideOutside.java b/src/joshua/decoder/hypergraph/DefaultInsideOutside.java
index 8702a8b..69d89b7 100644
--- a/src/joshua/decoder/hypergraph/DefaultInsideOutside.java
+++ b/src/joshua/decoder/hypergraph/DefaultInsideOutside.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 joshua.decoder.hypergraph;
 
 import java.util.HashMap;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/ForestWalker.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/ForestWalker.java b/src/joshua/decoder/hypergraph/ForestWalker.java
index 3a8ab6f..bc0ee21 100644
--- a/src/joshua/decoder/hypergraph/ForestWalker.java
+++ b/src/joshua/decoder/hypergraph/ForestWalker.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 joshua.decoder.hypergraph;
 
 import java.util.HashSet;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/GrammarBuilderWalkerFunction.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/GrammarBuilderWalkerFunction.java b/src/joshua/decoder/hypergraph/GrammarBuilderWalkerFunction.java
index d294508..d3d57d1 100644
--- a/src/joshua/decoder/hypergraph/GrammarBuilderWalkerFunction.java
+++ b/src/joshua/decoder/hypergraph/GrammarBuilderWalkerFunction.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 joshua.decoder.hypergraph;
 
 import java.io.PrintStream;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/HGNode.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/HGNode.java b/src/joshua/decoder/hypergraph/HGNode.java
index b524c33..f3f550c 100644
--- a/src/joshua/decoder/hypergraph/HGNode.java
+++ b/src/joshua/decoder/hypergraph/HGNode.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 joshua.decoder.hypergraph;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/HyperEdge.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/HyperEdge.java b/src/joshua/decoder/hypergraph/HyperEdge.java
index 3883043..114908e 100644
--- a/src/joshua/decoder/hypergraph/HyperEdge.java
+++ b/src/joshua/decoder/hypergraph/HyperEdge.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 joshua.decoder.hypergraph;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/HyperGraph.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/HyperGraph.java b/src/joshua/decoder/hypergraph/HyperGraph.java
index a238fef..4443270 100644
--- a/src/joshua/decoder/hypergraph/HyperGraph.java
+++ b/src/joshua/decoder/hypergraph/HyperGraph.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 joshua.decoder.hypergraph;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/HyperGraphPruning.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/HyperGraphPruning.java b/src/joshua/decoder/hypergraph/HyperGraphPruning.java
index cf89552..98b97d3 100644
--- a/src/joshua/decoder/hypergraph/HyperGraphPruning.java
+++ b/src/joshua/decoder/hypergraph/HyperGraphPruning.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 joshua.decoder.hypergraph;
 
 import java.util.HashMap;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/KBestExtractor.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/KBestExtractor.java b/src/joshua/decoder/hypergraph/KBestExtractor.java
index 46ab9ea..42539cc 100644
--- a/src/joshua/decoder/hypergraph/KBestExtractor.java
+++ b/src/joshua/decoder/hypergraph/KBestExtractor.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 joshua.decoder.hypergraph;
 
 import java.io.BufferedWriter;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/StringToTreeConverter.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/StringToTreeConverter.java b/src/joshua/decoder/hypergraph/StringToTreeConverter.java
index f62397d..2c85770 100644
--- a/src/joshua/decoder/hypergraph/StringToTreeConverter.java
+++ b/src/joshua/decoder/hypergraph/StringToTreeConverter.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 joshua.decoder.hypergraph;
 
 import java.util.Stack;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/TrivialInsideOutside.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/TrivialInsideOutside.java b/src/joshua/decoder/hypergraph/TrivialInsideOutside.java
index 2141fef..f6f164f 100644
--- a/src/joshua/decoder/hypergraph/TrivialInsideOutside.java
+++ b/src/joshua/decoder/hypergraph/TrivialInsideOutside.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 joshua.decoder.hypergraph;
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/ViterbiExtractor.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/ViterbiExtractor.java b/src/joshua/decoder/hypergraph/ViterbiExtractor.java
index 95ec7c7..1137792 100644
--- a/src/joshua/decoder/hypergraph/ViterbiExtractor.java
+++ b/src/joshua/decoder/hypergraph/ViterbiExtractor.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 joshua.decoder.hypergraph;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/WalkerFunction.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/hypergraph/WalkerFunction.java b/src/joshua/decoder/hypergraph/WalkerFunction.java
index 4258611..d46ef50 100644
--- a/src/joshua/decoder/hypergraph/WalkerFunction.java
+++ b/src/joshua/decoder/hypergraph/WalkerFunction.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 joshua.decoder.hypergraph;
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/io/DeNormalize.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/io/DeNormalize.java b/src/joshua/decoder/io/DeNormalize.java
index 948fffd..f19a67a 100644
--- a/src/joshua/decoder/io/DeNormalize.java
+++ b/src/joshua/decoder/io/DeNormalize.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 joshua.decoder.io;
 
 import java.util.regex.Matcher;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/io/JSONMessage.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/io/JSONMessage.java b/src/joshua/decoder/io/JSONMessage.java
index 1040b83..6b6b77f 100644
--- a/src/joshua/decoder/io/JSONMessage.java
+++ b/src/joshua/decoder/io/JSONMessage.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 joshua.decoder.io;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/io/TranslationRequestStream.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/io/TranslationRequestStream.java b/src/joshua/decoder/io/TranslationRequestStream.java
index 5803fdf..8f1c754 100644
--- a/src/joshua/decoder/io/TranslationRequestStream.java
+++ b/src/joshua/decoder/io/TranslationRequestStream.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 joshua.decoder.io;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Candidate.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/Candidate.java b/src/joshua/decoder/phrase/Candidate.java
index d39314d..4b8b6a6 100644
--- a/src/joshua/decoder/phrase/Candidate.java
+++ b/src/joshua/decoder/phrase/Candidate.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 joshua.decoder.phrase;
 
 /*** 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/CandidateComparator.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/CandidateComparator.java b/src/joshua/decoder/phrase/CandidateComparator.java
index dafbaad..2526ed6 100644
--- a/src/joshua/decoder/phrase/CandidateComparator.java
+++ b/src/joshua/decoder/phrase/CandidateComparator.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 joshua.decoder.phrase;
 
 import java.util.Comparator;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Coverage.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/Coverage.java b/src/joshua/decoder/phrase/Coverage.java
index 0bbae07..398c7a0 100644
--- a/src/joshua/decoder/phrase/Coverage.java
+++ b/src/joshua/decoder/phrase/Coverage.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 joshua.decoder.phrase;
 
 import java.util.BitSet;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/CoverageTest.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/CoverageTest.java b/src/joshua/decoder/phrase/CoverageTest.java
index a66533d..90bcbaf 100644
--- a/src/joshua/decoder/phrase/CoverageTest.java
+++ b/src/joshua/decoder/phrase/CoverageTest.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 joshua.decoder.phrase;
 
 import static org.junit.Assert.*;	

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Future.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/Future.java b/src/joshua/decoder/phrase/Future.java
index ee923c9..22a0225 100644
--- a/src/joshua/decoder/phrase/Future.java
+++ b/src/joshua/decoder/phrase/Future.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 joshua.decoder.phrase;
 
 /***

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Header.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/Header.java b/src/joshua/decoder/phrase/Header.java
index 4395ad8..2a8370d 100644
--- a/src/joshua/decoder/phrase/Header.java
+++ b/src/joshua/decoder/phrase/Header.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 joshua.decoder.phrase;
 
 // PORT: done

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Hypothesis.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/Hypothesis.java b/src/joshua/decoder/phrase/Hypothesis.java
index baf07bd..3d4bf51 100644
--- a/src/joshua/decoder/phrase/Hypothesis.java
+++ b/src/joshua/decoder/phrase/Hypothesis.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 joshua.decoder.phrase;
 
 import java.util.List;	

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Note.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/Note.java b/src/joshua/decoder/phrase/Note.java
index dc5d75b..19e6f62 100644
--- a/src/joshua/decoder/phrase/Note.java
+++ b/src/joshua/decoder/phrase/Note.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 joshua.decoder.phrase;
 
 // PORT: done

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/PhraseChart.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/PhraseChart.java b/src/joshua/decoder/phrase/PhraseChart.java
index 6b01f14..a0179ff 100644
--- a/src/joshua/decoder/phrase/PhraseChart.java
+++ b/src/joshua/decoder/phrase/PhraseChart.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 joshua.decoder.phrase;
 
 import java.util.ArrayList;	

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/PhraseTable.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/PhraseTable.java b/src/joshua/decoder/phrase/PhraseTable.java
index 34c7e3d..bcf7135 100644
--- a/src/joshua/decoder/phrase/PhraseTable.java
+++ b/src/joshua/decoder/phrase/PhraseTable.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 joshua.decoder.phrase;
 
 import java.io.File;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Stack.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/Stack.java b/src/joshua/decoder/phrase/Stack.java
index 190144a..88b529a 100644
--- a/src/joshua/decoder/phrase/Stack.java
+++ b/src/joshua/decoder/phrase/Stack.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 joshua.decoder.phrase;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Stacks.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/Stacks.java b/src/joshua/decoder/phrase/Stacks.java
index 581c4b7..eda7d8b 100644
--- a/src/joshua/decoder/phrase/Stacks.java
+++ b/src/joshua/decoder/phrase/Stacks.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 joshua.decoder.phrase;
 
 /***

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/TargetPhrases.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/phrase/TargetPhrases.java b/src/joshua/decoder/phrase/TargetPhrases.java
index 16cd49c..83b69d0 100644
--- a/src/joshua/decoder/phrase/TargetPhrases.java
+++ b/src/joshua/decoder/phrase/TargetPhrases.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 joshua.decoder.phrase;
 
 import java.util.ArrayList;	

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/segment_file/ConstraintRule.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/segment_file/ConstraintRule.java b/src/joshua/decoder/segment_file/ConstraintRule.java
index 11dd62f..9968640 100644
--- a/src/joshua/decoder/segment_file/ConstraintRule.java
+++ b/src/joshua/decoder/segment_file/ConstraintRule.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 joshua.decoder.segment_file;
 
 import javax.swing.text.Segment;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/segment_file/ConstraintSpan.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/segment_file/ConstraintSpan.java b/src/joshua/decoder/segment_file/ConstraintSpan.java
index a79f98d..c8087bd 100644
--- a/src/joshua/decoder/segment_file/ConstraintSpan.java
+++ b/src/joshua/decoder/segment_file/ConstraintSpan.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 joshua.decoder.segment_file;
 
 import java.util.List;



[4/4] incubator-joshua git commit: JOSHUA-248 - applied AL2 header, first pass

Posted by to...@apache.org.
JOSHUA-248 - applied AL2 header, first pass


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

Branch: refs/heads/master
Commit: 011668ce8451c92e1f1114b32a608921f10c0fe7
Parents: 28e7c22
Author: Tommaso Teofili <to...@apache.org>
Authored: Fri Apr 8 11:20:20 2016 +0200
Committer: Tommaso Teofili <to...@apache.org>
Committed: Fri Apr 8 11:20:20 2016 +0200

----------------------------------------------------------------------
 src/joshua/adagrad/AdaGrad.java                   | 18 ++++++++++++++++++
 src/joshua/adagrad/AdaGradCore.java               | 18 ++++++++++++++++++
 src/joshua/adagrad/Optimizer.java                 | 18 ++++++++++++++++++
 src/joshua/corpus/AbstractPhrase.java             | 18 ++++++++++++++++++
 src/joshua/corpus/ContiguousPhrase.java           | 18 ++++++++++++++++++
 src/joshua/corpus/Corpus.java                     | 18 ++++++++++++++++++
 src/joshua/corpus/Phrase.java                     | 18 ++++++++++++++++++
 src/joshua/corpus/Span.java                       | 18 ++++++++++++++++++
 src/joshua/corpus/TerminalIterator.java           | 18 ++++++++++++++++++
 src/joshua/corpus/Vocabulary.java                 | 18 ++++++++++++++++++
 src/joshua/corpus/syntax/ArraySyntaxTree.java     | 18 ++++++++++++++++++
 src/joshua/corpus/syntax/SyntaxTree.java          | 18 ++++++++++++++++++
 src/joshua/decoder/ArgsParser.java                | 18 ++++++++++++++++++
 src/joshua/decoder/BLEU.java                      | 18 ++++++++++++++++++
 src/joshua/decoder/Decoder.java                   | 18 ++++++++++++++++++
 src/joshua/decoder/DecoderThread.java             | 18 ++++++++++++++++++
 src/joshua/decoder/JoshuaConfiguration.java       | 18 ++++++++++++++++++
 src/joshua/decoder/JoshuaDecoder.java             | 18 ++++++++++++++++++
 src/joshua/decoder/MetaDataException.java         | 18 ++++++++++++++++++
 src/joshua/decoder/NbestMinRiskReranker.java      | 18 ++++++++++++++++++
 src/joshua/decoder/Support.java                   | 18 ++++++++++++++++++
 src/joshua/decoder/Translation.java               | 18 ++++++++++++++++++
 src/joshua/decoder/Translations.java              | 18 ++++++++++++++++++
 src/joshua/decoder/chart_parser/Cell.java         | 18 ++++++++++++++++++
 src/joshua/decoder/chart_parser/Chart.java        | 18 ++++++++++++++++++
 .../decoder/chart_parser/ComputeNodeResult.java   | 18 ++++++++++++++++++
 .../decoder/chart_parser/CubePruneState.java      | 18 ++++++++++++++++++
 src/joshua/decoder/chart_parser/DotChart.java     | 18 ++++++++++++++++++
 .../chart_parser/ManualConstraintsHandler.java    | 18 ++++++++++++++++++
 src/joshua/decoder/chart_parser/SourcePath.java   | 18 ++++++++++++++++++
 .../decoder/chart_parser/StateConstraint.java     | 18 ++++++++++++++++++
 src/joshua/decoder/chart_parser/SuperNode.java    | 18 ++++++++++++++++++
 src/joshua/decoder/ff/ArityPhrasePenalty.java     | 18 ++++++++++++++++++
 src/joshua/decoder/ff/FeatureFunction.java        | 18 ++++++++++++++++++
 src/joshua/decoder/ff/FeatureVector.java          | 18 ++++++++++++++++++
 src/joshua/decoder/ff/LabelCombinationFF.java     | 18 ++++++++++++++++++
 src/joshua/decoder/ff/LabelSubstitutionFF.java    | 18 ++++++++++++++++++
 src/joshua/decoder/ff/OOVPenalty.java             | 18 ++++++++++++++++++
 src/joshua/decoder/ff/PhraseModel.java            | 18 ++++++++++++++++++
 src/joshua/decoder/ff/PhrasePenalty.java          | 18 ++++++++++++++++++
 src/joshua/decoder/ff/RuleCountBin.java           | 18 ++++++++++++++++++
 src/joshua/decoder/ff/RuleFF.java                 | 18 ++++++++++++++++++
 src/joshua/decoder/ff/RuleLength.java             | 18 ++++++++++++++++++
 src/joshua/decoder/ff/RulePropertiesQuerying.java | 18 ++++++++++++++++++
 src/joshua/decoder/ff/RuleShape.java              | 18 ++++++++++++++++++
 src/joshua/decoder/ff/SourceDependentFF.java      | 18 ++++++++++++++++++
 src/joshua/decoder/ff/SourcePathFF.java           | 18 ++++++++++++++++++
 src/joshua/decoder/ff/StatefulFF.java             | 18 ++++++++++++++++++
 src/joshua/decoder/ff/StatelessFF.java            | 18 ++++++++++++++++++
 src/joshua/decoder/ff/TargetBigram.java           | 18 ++++++++++++++++++
 src/joshua/decoder/ff/WordPenalty.java            | 18 ++++++++++++++++++
 .../ff/fragmentlm/ConcatenationIterator.java      | 18 ++++++++++++++++++
 .../decoder/ff/fragmentlm/FragmentLMFF.java       | 18 ++++++++++++++++++
 .../decoder/ff/fragmentlm/PennTreebankReader.java | 18 ++++++++++++++++++
 src/joshua/decoder/ff/fragmentlm/Tree.java        | 18 ++++++++++++++++++
 src/joshua/decoder/ff/fragmentlm/Trees.java       | 18 ++++++++++++++++++
 .../decoder/ff/lm/DefaultNGramLanguageModel.java  | 18 ++++++++++++++++++
 src/joshua/decoder/ff/lm/KenLM.java               | 18 ++++++++++++++++++
 src/joshua/decoder/ff/lm/LanguageModelFF.java     | 18 ++++++++++++++++++
 src/joshua/decoder/ff/lm/NGramLanguageModel.java  | 18 ++++++++++++++++++
 .../ff/lm/StateMinimizingLanguageModel.java       | 18 ++++++++++++++++++
 .../ff/lm/berkeley_lm/LMGrammarBerkeley.java      | 18 ++++++++++++++++++
 .../ff/lm/berkeley_lm/SymbolTableWrapper.java     | 18 ++++++++++++++++++
 .../decoder/ff/lm/bloomfilter_lm/BloomFilter.java | 18 ++++++++++++++++++
 .../bloomfilter_lm/BloomFilterLanguageModel.java  | 18 ++++++++++++++++++
 src/joshua/decoder/ff/phrase/Distortion.java      | 18 ++++++++++++++++++
 .../ff/similarity/EdgePhraseSimilarityFF.java     | 18 ++++++++++++++++++
 .../decoder/ff/state_maintenance/DPState.java     | 18 ++++++++++++++++++
 .../decoder/ff/state_maintenance/KenLMState.java  | 18 ++++++++++++++++++
 .../ff/state_maintenance/NgramDPState.java        | 18 ++++++++++++++++++
 src/joshua/decoder/ff/tm/AbstractGrammar.java     | 18 ++++++++++++++++++
 src/joshua/decoder/ff/tm/BasicRuleCollection.java | 18 ++++++++++++++++++
 src/joshua/decoder/ff/tm/CreateGlueGrammar.java   | 18 ++++++++++++++++++
 src/joshua/decoder/ff/tm/Grammar.java             | 18 ++++++++++++++++++
 src/joshua/decoder/ff/tm/GrammarReader.java       | 18 ++++++++++++++++++
 src/joshua/decoder/ff/tm/PhraseRule.java          | 18 ++++++++++++++++++
 src/joshua/decoder/ff/tm/Rule.java                | 18 ++++++++++++++++++
 src/joshua/decoder/ff/tm/RuleCollection.java      | 18 ++++++++++++++++++
 .../decoder/ff/tm/SentenceFilteredGrammar.java    | 18 ++++++++++++++++++
 src/joshua/decoder/ff/tm/Trie.java                | 18 ++++++++++++++++++
 .../ff/tm/UnsortedRuleCollectionException.java    | 18 ++++++++++++++++++
 .../decoder/ff/tm/format/HieroFormatReader.java   | 18 ++++++++++++++++++
 .../decoder/ff/tm/format/PhraseFormatReader.java  | 18 ++++++++++++++++++
 .../decoder/ff/tm/format/SamtFormatReader.java    | 18 ++++++++++++++++++
 .../ff/tm/hash_based/ExtensionIterator.java       | 18 ++++++++++++++++++
 .../ff/tm/hash_based/MemoryBasedBatchGrammar.java | 18 ++++++++++++++++++
 .../ff/tm/hash_based/MemoryBasedRuleBin.java      | 18 ++++++++++++++++++
 .../decoder/ff/tm/hash_based/MemoryBasedTrie.java | 18 ++++++++++++++++++
 .../decoder/ff/tm/packed/PackedGrammar.java       | 18 ++++++++++++++++++
 .../ff/tm/packed/SliceAggregatingTrie.java        | 18 ++++++++++++++++++
 src/joshua/decoder/hypergraph/AllSpansWalker.java | 18 ++++++++++++++++++
 .../decoder/hypergraph/DefaultInsideOutside.java  | 18 ++++++++++++++++++
 src/joshua/decoder/hypergraph/ForestWalker.java   | 18 ++++++++++++++++++
 .../hypergraph/GrammarBuilderWalkerFunction.java  | 18 ++++++++++++++++++
 src/joshua/decoder/hypergraph/HGNode.java         | 18 ++++++++++++++++++
 src/joshua/decoder/hypergraph/HyperEdge.java      | 18 ++++++++++++++++++
 src/joshua/decoder/hypergraph/HyperGraph.java     | 18 ++++++++++++++++++
 .../decoder/hypergraph/HyperGraphPruning.java     | 18 ++++++++++++++++++
 src/joshua/decoder/hypergraph/KBestExtractor.java | 18 ++++++++++++++++++
 .../decoder/hypergraph/StringToTreeConverter.java | 18 ++++++++++++++++++
 .../decoder/hypergraph/TrivialInsideOutside.java  | 18 ++++++++++++++++++
 .../decoder/hypergraph/ViterbiExtractor.java      | 18 ++++++++++++++++++
 src/joshua/decoder/hypergraph/WalkerFunction.java | 18 ++++++++++++++++++
 src/joshua/decoder/io/DeNormalize.java            | 18 ++++++++++++++++++
 src/joshua/decoder/io/JSONMessage.java            | 18 ++++++++++++++++++
 .../decoder/io/TranslationRequestStream.java      | 18 ++++++++++++++++++
 src/joshua/decoder/phrase/Candidate.java          | 18 ++++++++++++++++++
 .../decoder/phrase/CandidateComparator.java       | 18 ++++++++++++++++++
 src/joshua/decoder/phrase/Coverage.java           | 18 ++++++++++++++++++
 src/joshua/decoder/phrase/CoverageTest.java       | 18 ++++++++++++++++++
 src/joshua/decoder/phrase/Future.java             | 18 ++++++++++++++++++
 src/joshua/decoder/phrase/Header.java             | 18 ++++++++++++++++++
 src/joshua/decoder/phrase/Hypothesis.java         | 18 ++++++++++++++++++
 src/joshua/decoder/phrase/Note.java               | 18 ++++++++++++++++++
 src/joshua/decoder/phrase/PhraseChart.java        | 18 ++++++++++++++++++
 src/joshua/decoder/phrase/PhraseTable.java        | 18 ++++++++++++++++++
 src/joshua/decoder/phrase/Stack.java              | 18 ++++++++++++++++++
 src/joshua/decoder/phrase/Stacks.java             | 18 ++++++++++++++++++
 src/joshua/decoder/phrase/TargetPhrases.java      | 18 ++++++++++++++++++
 .../decoder/segment_file/ConstraintRule.java      | 18 ++++++++++++++++++
 .../decoder/segment_file/ConstraintSpan.java      | 18 ++++++++++++++++++
 .../decoder/segment_file/ParseTreeInput.java      | 18 ++++++++++++++++++
 .../decoder/segment_file/ParsedSentence.java      | 18 ++++++++++++++++++
 src/joshua/decoder/segment_file/Sentence.java     | 18 ++++++++++++++++++
 src/joshua/decoder/segment_file/Token.java        | 18 ++++++++++++++++++
 src/joshua/lattice/Arc.java                       | 18 ++++++++++++++++++
 src/joshua/lattice/Lattice.java                   | 18 ++++++++++++++++++
 src/joshua/lattice/Node.java                      | 18 ++++++++++++++++++
 src/joshua/lattice/NodeIdentifierComparator.java  | 18 ++++++++++++++++++
 src/joshua/metrics/BLEU.java                      | 18 ++++++++++++++++++
 src/joshua/metrics/BLEU_SBP.java                  | 18 ++++++++++++++++++
 src/joshua/metrics/EvaluationMetric.java          | 18 ++++++++++++++++++
 src/joshua/metrics/GradeLevelBLEU.java            | 18 ++++++++++++++++++
 src/joshua/metrics/METEOR.java                    | 18 ++++++++++++++++++
 src/joshua/metrics/MinimumChangeBLEU.java         | 18 ++++++++++++++++++
 src/joshua/metrics/NewMetric.java.template        | 18 ++++++++++++++++++
 src/joshua/metrics/Precis.java                    | 18 ++++++++++++++++++
 src/joshua/metrics/PrecisMinusSourceBLEU.java     | 18 ++++++++++++++++++
 src/joshua/metrics/SourceBLEU.java                | 18 ++++++++++++++++++
 src/joshua/metrics/TER.java                       | 18 ++++++++++++++++++
 src/joshua/metrics/TERMinusBLEU.java              | 18 ++++++++++++++++++
 src/joshua/metrics/TercomRunner.java              | 18 ++++++++++++++++++
 src/joshua/metrics/ZeroOneLoss.java               | 18 ++++++++++++++++++
 src/joshua/mira/MIRA.java                         | 18 ++++++++++++++++++
 src/joshua/mira/MIRACore.java                     | 18 ++++++++++++++++++
 src/joshua/mira/Optimizer.java                    | 18 ++++++++++++++++++
 src/joshua/oracle/OracleExtractionHG.java         | 18 ++++++++++++++++++
 src/joshua/oracle/OracleExtractor.java            | 18 ++++++++++++++++++
 src/joshua/oracle/SplitHg.java                    | 18 ++++++++++++++++++
 src/joshua/pro/ClassifierInterface.java           | 18 ++++++++++++++++++
 src/joshua/pro/ClassifierMegaM.java               | 18 ++++++++++++++++++
 src/joshua/pro/ClassifierPerceptron.java          | 18 ++++++++++++++++++
 src/joshua/pro/ClassifierSVM.java                 | 18 ++++++++++++++++++
 src/joshua/pro/Optimizer.java                     | 18 ++++++++++++++++++
 src/joshua/pro/PRO.java                           | 18 ++++++++++++++++++
 src/joshua/pro/PROCore.java                       | 18 ++++++++++++++++++
 src/joshua/server/ServerThread.java               | 18 ++++++++++++++++++
 src/joshua/server/TcpServer.java                  | 18 ++++++++++++++++++
 src/joshua/subsample/AlignedSubsampler.java       | 18 ++++++++++++++++++
 src/joshua/subsample/BiCorpusFactory.java         | 18 ++++++++++++++++++
 src/joshua/subsample/PhraseWriter.java            | 18 ++++++++++++++++++
 src/joshua/tools/GrammarPacker.java               | 18 ++++++++++++++++++
 src/joshua/tools/GrammarPackerCli.java            | 18 ++++++++++++++++++
 src/joshua/tools/LabelPhrases.java                | 18 ++++++++++++++++++
 src/joshua/tools/TestSetFilter.java               | 18 ++++++++++++++++++
 src/joshua/ui/Orientation.java                    | 18 ++++++++++++++++++
 src/joshua/ui/StartupWindow.java                  | 18 ++++++++++++++++++
 src/joshua/ui/tree_visualizer/DerivationTree.java | 18 ++++++++++++++++++
 .../ui/tree_visualizer/DerivationTreeEdge.java    | 18 ++++++++++++++++++
 .../DerivationTreeTransformer.java                | 18 ++++++++++++++++++
 .../ui/tree_visualizer/DerivationViewer.java      | 18 ++++++++++++++++++
 .../tree_visualizer/DerivationViewerApplet.java   | 18 ++++++++++++++++++
 src/joshua/ui/tree_visualizer/Node.java           | 18 ++++++++++++++++++
 .../ui/tree_visualizer/browser/Browser.java       | 18 ++++++++++++++++++
 .../browser/DerivationTreeFrame.java              | 18 ++++++++++++++++++
 .../tree_visualizer/browser/TranslationInfo.java  | 18 ++++++++++++++++++
 src/joshua/ui/tree_visualizer/tree/Tree.java      | 18 ++++++++++++++++++
 src/joshua/util/Algorithms.java                   | 18 ++++++++++++++++++
 src/joshua/util/Bits.java                         | 18 ++++++++++++++++++
 src/joshua/util/BotMap.java                       | 18 ++++++++++++++++++
 src/joshua/util/Cache.java                        | 18 ++++++++++++++++++
 src/joshua/util/ChartSpan.java                    | 18 ++++++++++++++++++
 src/joshua/util/CommandLineParser.java            | 18 ++++++++++++++++++
 src/joshua/util/CompareGrammars.java              | 18 ++++++++++++++++++
 src/joshua/util/Counted.java                      | 18 ++++++++++++++++++
 src/joshua/util/Counts.java                       | 18 ++++++++++++++++++
 src/joshua/util/ExtractTopCand.java               | 18 ++++++++++++++++++
 src/joshua/util/FileUtility.java                  | 18 ++++++++++++++++++
 src/joshua/util/FormatUtils.java                  | 18 ++++++++++++++++++
 src/joshua/util/IntegerPair.java                  | 18 ++++++++++++++++++
 src/joshua/util/JoshuaEval.java                   | 18 ++++++++++++++++++
 src/joshua/util/ListUtil.java                     | 18 ++++++++++++++++++
 src/joshua/util/Lists.java                        | 18 ++++++++++++++++++
 src/joshua/util/NBestListUtility.java             | 18 ++++++++++++++++++
 src/joshua/util/Ngram.java                        | 18 ++++++++++++++++++
 src/joshua/util/NullIterator.java                 | 18 ++++++++++++++++++
 src/joshua/util/PackedGrammarServer.java          | 18 ++++++++++++++++++
 src/joshua/util/Pair.java                         | 18 ++++++++++++++++++
 src/joshua/util/Platform.java                     | 18 ++++++++++++++++++
 src/joshua/util/QuietFormatter.java               | 18 ++++++++++++++++++
 src/joshua/util/Regex.java                        | 18 ++++++++++++++++++
 src/joshua/util/ReverseOrder.java                 | 18 ++++++++++++++++++
 src/joshua/util/SampledList.java                  | 18 ++++++++++++++++++
 src/joshua/util/SocketUtility.java                | 18 ++++++++++++++++++
 src/joshua/util/StreamGobbler.java                | 18 ++++++++++++++++++
 src/joshua/util/UnicodeCharacterName.java         | 18 ++++++++++++++++++
 src/joshua/util/encoding/Analyzer.java            | 18 ++++++++++++++++++
 src/joshua/util/encoding/EightBitQuantizer.java   | 18 ++++++++++++++++++
 .../util/encoding/EncoderConfiguration.java       | 18 ++++++++++++++++++
 src/joshua/util/encoding/EncoderFactory.java      | 18 ++++++++++++++++++
 src/joshua/util/encoding/FeatureTypeAnalyzer.java | 18 ++++++++++++++++++
 src/joshua/util/encoding/FloatEncoder.java        | 18 ++++++++++++++++++
 src/joshua/util/encoding/IntEncoder.java          | 18 ++++++++++++++++++
 .../util/encoding/PrimitiveFloatEncoder.java      | 18 ++++++++++++++++++
 src/joshua/util/encoding/PrimitiveIntEncoder.java | 18 ++++++++++++++++++
 src/joshua/util/encoding/VariableQuantizer.java   | 18 ++++++++++++++++++
 src/joshua/util/io/BinaryIn.java                  | 18 ++++++++++++++++++
 src/joshua/util/io/BinaryOut.java                 | 18 ++++++++++++++++++
 src/joshua/util/io/IndexedReader.java             | 18 ++++++++++++++++++
 src/joshua/util/io/LineReader.java                | 18 ++++++++++++++++++
 src/joshua/util/io/NullReader.java                | 18 ++++++++++++++++++
 src/joshua/util/io/ProgressInputStream.java       | 18 ++++++++++++++++++
 src/joshua/util/io/Reader.java                    | 18 ++++++++++++++++++
 src/joshua/zmert/IntermediateOptimizer.java       | 18 ++++++++++++++++++
 src/joshua/zmert/MertCore.java                    | 18 ++++++++++++++++++
 src/joshua/zmert/ZMERT.java                       | 18 ++++++++++++++++++
 226 files changed, 4068 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/adagrad/AdaGrad.java
----------------------------------------------------------------------
diff --git a/src/joshua/adagrad/AdaGrad.java b/src/joshua/adagrad/AdaGrad.java
index 206abd3..61e90ad 100755
--- a/src/joshua/adagrad/AdaGrad.java
+++ b/src/joshua/adagrad/AdaGrad.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 joshua.adagrad;
 
 import joshua.decoder.JoshuaConfiguration;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/adagrad/AdaGradCore.java
----------------------------------------------------------------------
diff --git a/src/joshua/adagrad/AdaGradCore.java b/src/joshua/adagrad/AdaGradCore.java
index fa16bed..e2958c6 100755
--- a/src/joshua/adagrad/AdaGradCore.java
+++ b/src/joshua/adagrad/AdaGradCore.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 joshua.adagrad;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/adagrad/Optimizer.java
----------------------------------------------------------------------
diff --git a/src/joshua/adagrad/Optimizer.java b/src/joshua/adagrad/Optimizer.java
index 1270e12..496277f 100755
--- a/src/joshua/adagrad/Optimizer.java
+++ b/src/joshua/adagrad/Optimizer.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 joshua.adagrad;
 
 import java.util.Collections;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/corpus/AbstractPhrase.java
----------------------------------------------------------------------
diff --git a/src/joshua/corpus/AbstractPhrase.java b/src/joshua/corpus/AbstractPhrase.java
index 4864aea..5f90004 100644
--- a/src/joshua/corpus/AbstractPhrase.java
+++ b/src/joshua/corpus/AbstractPhrase.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 joshua.corpus;
 
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/corpus/ContiguousPhrase.java
----------------------------------------------------------------------
diff --git a/src/joshua/corpus/ContiguousPhrase.java b/src/joshua/corpus/ContiguousPhrase.java
index 62be28a..2539577 100644
--- a/src/joshua/corpus/ContiguousPhrase.java
+++ b/src/joshua/corpus/ContiguousPhrase.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 joshua.corpus;
 
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/corpus/Corpus.java
----------------------------------------------------------------------
diff --git a/src/joshua/corpus/Corpus.java b/src/joshua/corpus/Corpus.java
index e7193fc..d3a394c 100755
--- a/src/joshua/corpus/Corpus.java
+++ b/src/joshua/corpus/Corpus.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 joshua.corpus;
 
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/corpus/Phrase.java
----------------------------------------------------------------------
diff --git a/src/joshua/corpus/Phrase.java b/src/joshua/corpus/Phrase.java
index 6dfcb47..ba46220 100644
--- a/src/joshua/corpus/Phrase.java
+++ b/src/joshua/corpus/Phrase.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 joshua.corpus;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/corpus/Span.java
----------------------------------------------------------------------
diff --git a/src/joshua/corpus/Span.java b/src/joshua/corpus/Span.java
index 682dd21..d26d5ea 100644
--- a/src/joshua/corpus/Span.java
+++ b/src/joshua/corpus/Span.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 joshua.corpus;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/corpus/TerminalIterator.java
----------------------------------------------------------------------
diff --git a/src/joshua/corpus/TerminalIterator.java b/src/joshua/corpus/TerminalIterator.java
index 2796ac4..29544fb 100644
--- a/src/joshua/corpus/TerminalIterator.java
+++ b/src/joshua/corpus/TerminalIterator.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 joshua.corpus;
 
 import java.util.Iterator;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/corpus/Vocabulary.java
----------------------------------------------------------------------
diff --git a/src/joshua/corpus/Vocabulary.java b/src/joshua/corpus/Vocabulary.java
index 5dfe657..e598203 100644
--- a/src/joshua/corpus/Vocabulary.java
+++ b/src/joshua/corpus/Vocabulary.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 joshua.corpus;
 
 import static joshua.util.FormatUtils.isNonterminal;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/corpus/syntax/ArraySyntaxTree.java
----------------------------------------------------------------------
diff --git a/src/joshua/corpus/syntax/ArraySyntaxTree.java b/src/joshua/corpus/syntax/ArraySyntaxTree.java
index f3408cd..d2a457a 100644
--- a/src/joshua/corpus/syntax/ArraySyntaxTree.java
+++ b/src/joshua/corpus/syntax/ArraySyntaxTree.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 joshua.corpus.syntax;
 
 import java.io.Externalizable;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/corpus/syntax/SyntaxTree.java
----------------------------------------------------------------------
diff --git a/src/joshua/corpus/syntax/SyntaxTree.java b/src/joshua/corpus/syntax/SyntaxTree.java
index d9c49bc..bd31898 100644
--- a/src/joshua/corpus/syntax/SyntaxTree.java
+++ b/src/joshua/corpus/syntax/SyntaxTree.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 joshua.corpus.syntax;
 
 import java.util.Collection;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ArgsParser.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ArgsParser.java b/src/joshua/decoder/ArgsParser.java
index 231f5a1..731bca1 100644
--- a/src/joshua/decoder/ArgsParser.java
+++ b/src/joshua/decoder/ArgsParser.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 joshua.decoder;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/BLEU.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/BLEU.java b/src/joshua/decoder/BLEU.java
index 7e43765..129b792 100644
--- a/src/joshua/decoder/BLEU.java
+++ b/src/joshua/decoder/BLEU.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 joshua.decoder;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/Decoder.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/Decoder.java b/src/joshua/decoder/Decoder.java
index 49b45ea..739ee41 100644
--- a/src/joshua/decoder/Decoder.java
+++ b/src/joshua/decoder/Decoder.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 joshua.decoder;
 
 import static joshua.decoder.ff.FeatureVector.DENSE_FEATURE_NAMES;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/DecoderThread.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/DecoderThread.java b/src/joshua/decoder/DecoderThread.java
index bfe4891..6bc507f 100644
--- a/src/joshua/decoder/DecoderThread.java
+++ b/src/joshua/decoder/DecoderThread.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 joshua.decoder;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/JoshuaConfiguration.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/JoshuaConfiguration.java b/src/joshua/decoder/JoshuaConfiguration.java
index b7be145..c61720c 100644
--- a/src/joshua/decoder/JoshuaConfiguration.java
+++ b/src/joshua/decoder/JoshuaConfiguration.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 joshua.decoder;
 
 import static joshua.util.FormatUtils.cleanNonTerminal;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/JoshuaDecoder.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/JoshuaDecoder.java b/src/joshua/decoder/JoshuaDecoder.java
index 3ef189c..841f517 100644
--- a/src/joshua/decoder/JoshuaDecoder.java
+++ b/src/joshua/decoder/JoshuaDecoder.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 joshua.decoder;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/MetaDataException.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/MetaDataException.java b/src/joshua/decoder/MetaDataException.java
index f365dd8..932059c 100644
--- a/src/joshua/decoder/MetaDataException.java
+++ b/src/joshua/decoder/MetaDataException.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 joshua.decoder;
 
 /*

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/NbestMinRiskReranker.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/NbestMinRiskReranker.java b/src/joshua/decoder/NbestMinRiskReranker.java
index 3a25373..9596ae0 100644
--- a/src/joshua/decoder/NbestMinRiskReranker.java
+++ b/src/joshua/decoder/NbestMinRiskReranker.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 joshua.decoder;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/Support.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/Support.java b/src/joshua/decoder/Support.java
index c5898d6..af33ec5 100644
--- a/src/joshua/decoder/Support.java
+++ b/src/joshua/decoder/Support.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 joshua.decoder;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/Translation.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/Translation.java b/src/joshua/decoder/Translation.java
index a9f82f7..85f4974 100644
--- a/src/joshua/decoder/Translation.java
+++ b/src/joshua/decoder/Translation.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 joshua.decoder;
 
 import java.io.BufferedWriter;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/Translations.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/Translations.java b/src/joshua/decoder/Translations.java
index 015660a..e6ba9e6 100644
--- a/src/joshua/decoder/Translations.java
+++ b/src/joshua/decoder/Translations.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 joshua.decoder;
 
 import java.util.LinkedList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/chart_parser/Cell.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/chart_parser/Cell.java b/src/joshua/decoder/chart_parser/Cell.java
index 85cdffd..5ab2a15 100644
--- a/src/joshua/decoder/chart_parser/Cell.java
+++ b/src/joshua/decoder/chart_parser/Cell.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 joshua.decoder.chart_parser;
 
 import java.util.ArrayList;	

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/chart_parser/Chart.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/chart_parser/Chart.java b/src/joshua/decoder/chart_parser/Chart.java
index 01b2517..c400f08 100644
--- a/src/joshua/decoder/chart_parser/Chart.java
+++ b/src/joshua/decoder/chart_parser/Chart.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 joshua.decoder.chart_parser;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/chart_parser/ComputeNodeResult.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/chart_parser/ComputeNodeResult.java b/src/joshua/decoder/chart_parser/ComputeNodeResult.java
index ddf858e..373ed40 100644
--- a/src/joshua/decoder/chart_parser/ComputeNodeResult.java
+++ b/src/joshua/decoder/chart_parser/ComputeNodeResult.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 joshua.decoder.chart_parser;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/chart_parser/CubePruneState.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/chart_parser/CubePruneState.java b/src/joshua/decoder/chart_parser/CubePruneState.java
index be4713f..c9ee8e6 100644
--- a/src/joshua/decoder/chart_parser/CubePruneState.java
+++ b/src/joshua/decoder/chart_parser/CubePruneState.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 joshua.decoder.chart_parser;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/chart_parser/DotChart.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/chart_parser/DotChart.java b/src/joshua/decoder/chart_parser/DotChart.java
index c08cf37..64972d5 100644
--- a/src/joshua/decoder/chart_parser/DotChart.java
+++ b/src/joshua/decoder/chart_parser/DotChart.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 joshua.decoder.chart_parser;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/chart_parser/ManualConstraintsHandler.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/chart_parser/ManualConstraintsHandler.java b/src/joshua/decoder/chart_parser/ManualConstraintsHandler.java
index 6856180..baed984 100644
--- a/src/joshua/decoder/chart_parser/ManualConstraintsHandler.java
+++ b/src/joshua/decoder/chart_parser/ManualConstraintsHandler.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 joshua.decoder.chart_parser;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/chart_parser/SourcePath.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/chart_parser/SourcePath.java b/src/joshua/decoder/chart_parser/SourcePath.java
index 1acc82c..b1fbe09 100644
--- a/src/joshua/decoder/chart_parser/SourcePath.java
+++ b/src/joshua/decoder/chart_parser/SourcePath.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 joshua.decoder.chart_parser;
 
 import joshua.decoder.segment_file.Token;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/chart_parser/StateConstraint.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/chart_parser/StateConstraint.java b/src/joshua/decoder/chart_parser/StateConstraint.java
index 3541631..e17cee0 100644
--- a/src/joshua/decoder/chart_parser/StateConstraint.java
+++ b/src/joshua/decoder/chart_parser/StateConstraint.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 joshua.decoder.chart_parser;
 
 import java.util.Collection;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/chart_parser/SuperNode.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/chart_parser/SuperNode.java b/src/joshua/decoder/chart_parser/SuperNode.java
index 1e21518..6ed4bcd 100644
--- a/src/joshua/decoder/chart_parser/SuperNode.java
+++ b/src/joshua/decoder/chart_parser/SuperNode.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 joshua.decoder.chart_parser;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/ArityPhrasePenalty.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/ArityPhrasePenalty.java b/src/joshua/decoder/ff/ArityPhrasePenalty.java
index d9c93cb..8223899 100644
--- a/src/joshua/decoder/ff/ArityPhrasePenalty.java
+++ b/src/joshua/decoder/ff/ArityPhrasePenalty.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 joshua.decoder.ff;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/FeatureFunction.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/FeatureFunction.java b/src/joshua/decoder/ff/FeatureFunction.java
index a08ead2..40b92b3 100644
--- a/src/joshua/decoder/ff/FeatureFunction.java
+++ b/src/joshua/decoder/ff/FeatureFunction.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 joshua.decoder.ff;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/FeatureVector.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/FeatureVector.java b/src/joshua/decoder/ff/FeatureVector.java
index 50b2a3c..f95a93c 100644
--- a/src/joshua/decoder/ff/FeatureVector.java
+++ b/src/joshua/decoder/ff/FeatureVector.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 joshua.decoder.ff;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/LabelCombinationFF.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/LabelCombinationFF.java b/src/joshua/decoder/ff/LabelCombinationFF.java
index 6f45a11..37e83f9 100644
--- a/src/joshua/decoder/ff/LabelCombinationFF.java
+++ b/src/joshua/decoder/ff/LabelCombinationFF.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 joshua.decoder.ff;
 
 /***

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/LabelSubstitutionFF.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/LabelSubstitutionFF.java b/src/joshua/decoder/ff/LabelSubstitutionFF.java
index 8e4a79f..0f70372 100644
--- a/src/joshua/decoder/ff/LabelSubstitutionFF.java
+++ b/src/joshua/decoder/ff/LabelSubstitutionFF.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 joshua.decoder.ff;
 
 /***

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/OOVPenalty.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/OOVPenalty.java b/src/joshua/decoder/ff/OOVPenalty.java
index 27c475f..6a06548 100644
--- a/src/joshua/decoder/ff/OOVPenalty.java
+++ b/src/joshua/decoder/ff/OOVPenalty.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 joshua.decoder.ff;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/PhraseModel.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/PhraseModel.java b/src/joshua/decoder/ff/PhraseModel.java
index 72e2c2c..9882bc1 100644
--- a/src/joshua/decoder/ff/PhraseModel.java
+++ b/src/joshua/decoder/ff/PhraseModel.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 joshua.decoder.ff;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/PhrasePenalty.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/PhrasePenalty.java b/src/joshua/decoder/ff/PhrasePenalty.java
index 33ee154..fa6a3d1 100644
--- a/src/joshua/decoder/ff/PhrasePenalty.java
+++ b/src/joshua/decoder/ff/PhrasePenalty.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 joshua.decoder.ff;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/RuleCountBin.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/RuleCountBin.java b/src/joshua/decoder/ff/RuleCountBin.java
index 501e9de..cd7d9e7 100644
--- a/src/joshua/decoder/ff/RuleCountBin.java
+++ b/src/joshua/decoder/ff/RuleCountBin.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 joshua.decoder.ff;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/RuleFF.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/RuleFF.java b/src/joshua/decoder/ff/RuleFF.java
index acc0aba..9fb7d3e 100644
--- a/src/joshua/decoder/ff/RuleFF.java
+++ b/src/joshua/decoder/ff/RuleFF.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 joshua.decoder.ff;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/RuleLength.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/RuleLength.java b/src/joshua/decoder/ff/RuleLength.java
index 8dd761a..645905a 100644
--- a/src/joshua/decoder/ff/RuleLength.java
+++ b/src/joshua/decoder/ff/RuleLength.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 joshua.decoder.ff;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/RulePropertiesQuerying.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/RulePropertiesQuerying.java b/src/joshua/decoder/ff/RulePropertiesQuerying.java
index da9081e..777c790 100644
--- a/src/joshua/decoder/ff/RulePropertiesQuerying.java
+++ b/src/joshua/decoder/ff/RulePropertiesQuerying.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 joshua.decoder.ff;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/RuleShape.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/RuleShape.java b/src/joshua/decoder/ff/RuleShape.java
index c5a4dba..ff022ef 100644
--- a/src/joshua/decoder/ff/RuleShape.java
+++ b/src/joshua/decoder/ff/RuleShape.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 joshua.decoder.ff;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/SourceDependentFF.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/SourceDependentFF.java b/src/joshua/decoder/ff/SourceDependentFF.java
index 0a28ba7..2f490fa 100644
--- a/src/joshua/decoder/ff/SourceDependentFF.java
+++ b/src/joshua/decoder/ff/SourceDependentFF.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 joshua.decoder.ff;
 
 import joshua.decoder.segment_file.Sentence;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/SourcePathFF.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/SourcePathFF.java b/src/joshua/decoder/ff/SourcePathFF.java
index 57414cd..68dc595 100644
--- a/src/joshua/decoder/ff/SourcePathFF.java
+++ b/src/joshua/decoder/ff/SourcePathFF.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 joshua.decoder.ff;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/StatefulFF.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/StatefulFF.java b/src/joshua/decoder/ff/StatefulFF.java
index 53bb439..4ec2e57 100644
--- a/src/joshua/decoder/ff/StatefulFF.java
+++ b/src/joshua/decoder/ff/StatefulFF.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 joshua.decoder.ff;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/StatelessFF.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/StatelessFF.java b/src/joshua/decoder/ff/StatelessFF.java
index 5faa75f..198219b 100644
--- a/src/joshua/decoder/ff/StatelessFF.java
+++ b/src/joshua/decoder/ff/StatelessFF.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 joshua.decoder.ff;
 
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/TargetBigram.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/TargetBigram.java b/src/joshua/decoder/ff/TargetBigram.java
index 1b842ac..846273d 100644
--- a/src/joshua/decoder/ff/TargetBigram.java
+++ b/src/joshua/decoder/ff/TargetBigram.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 joshua.decoder.ff;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/WordPenalty.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/WordPenalty.java b/src/joshua/decoder/ff/WordPenalty.java
index e73991b..583b59c 100644
--- a/src/joshua/decoder/ff/WordPenalty.java
+++ b/src/joshua/decoder/ff/WordPenalty.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 joshua.decoder.ff;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/fragmentlm/ConcatenationIterator.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/fragmentlm/ConcatenationIterator.java b/src/joshua/decoder/ff/fragmentlm/ConcatenationIterator.java
index efdee28..b19d897 100644
--- a/src/joshua/decoder/ff/fragmentlm/ConcatenationIterator.java
+++ b/src/joshua/decoder/ff/fragmentlm/ConcatenationIterator.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 joshua.decoder.ff.fragmentlm;
 
 import java.util.*;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/fragmentlm/FragmentLMFF.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/fragmentlm/FragmentLMFF.java b/src/joshua/decoder/ff/fragmentlm/FragmentLMFF.java
index e84c4ce..0375dc0 100644
--- a/src/joshua/decoder/ff/fragmentlm/FragmentLMFF.java
+++ b/src/joshua/decoder/ff/fragmentlm/FragmentLMFF.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 joshua.decoder.ff.fragmentlm;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/fragmentlm/PennTreebankReader.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/fragmentlm/PennTreebankReader.java b/src/joshua/decoder/ff/fragmentlm/PennTreebankReader.java
index e33af24..6ab52e1 100644
--- a/src/joshua/decoder/ff/fragmentlm/PennTreebankReader.java
+++ b/src/joshua/decoder/ff/fragmentlm/PennTreebankReader.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 joshua.decoder.ff.fragmentlm;
 
 import java.util.*;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/fragmentlm/Tree.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/ff/fragmentlm/Tree.java b/src/joshua/decoder/ff/fragmentlm/Tree.java
index 72aeffe..a4aa5a8 100644
--- a/src/joshua/decoder/ff/fragmentlm/Tree.java
+++ b/src/joshua/decoder/ff/fragmentlm/Tree.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 joshua.decoder.ff.fragmentlm;
 
 import java.io.IOException;



[2/4] incubator-joshua git commit: JOSHUA-248 - applied AL2 header, first pass

Posted by to...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/segment_file/ParseTreeInput.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/segment_file/ParseTreeInput.java b/src/joshua/decoder/segment_file/ParseTreeInput.java
index 93f923e..5feb051 100644
--- a/src/joshua/decoder/segment_file/ParseTreeInput.java
+++ b/src/joshua/decoder/segment_file/ParseTreeInput.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 joshua.decoder.segment_file;
 
 import joshua.decoder.JoshuaConfiguration;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/segment_file/ParsedSentence.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/segment_file/ParsedSentence.java b/src/joshua/decoder/segment_file/ParsedSentence.java
index b279132..9273b96 100644
--- a/src/joshua/decoder/segment_file/ParsedSentence.java
+++ b/src/joshua/decoder/segment_file/ParsedSentence.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 joshua.decoder.segment_file;
 
 import joshua.corpus.Vocabulary;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/segment_file/Sentence.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/segment_file/Sentence.java b/src/joshua/decoder/segment_file/Sentence.java
index f65f2f9..c1eeca8 100644
--- a/src/joshua/decoder/segment_file/Sentence.java
+++ b/src/joshua/decoder/segment_file/Sentence.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 joshua.decoder.segment_file;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/segment_file/Token.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/segment_file/Token.java b/src/joshua/decoder/segment_file/Token.java
index 09fa0d6..12e2b68 100644
--- a/src/joshua/decoder/segment_file/Token.java
+++ b/src/joshua/decoder/segment_file/Token.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 joshua.decoder.segment_file;
 
 import java.util.HashMap;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/lattice/Arc.java
----------------------------------------------------------------------
diff --git a/src/joshua/lattice/Arc.java b/src/joshua/lattice/Arc.java
index 15647b9..793a128 100644
--- a/src/joshua/lattice/Arc.java
+++ b/src/joshua/lattice/Arc.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 joshua.lattice;
 
 

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/lattice/Lattice.java
----------------------------------------------------------------------
diff --git a/src/joshua/lattice/Lattice.java b/src/joshua/lattice/Lattice.java
index e9cfd59..abe43b2 100644
--- a/src/joshua/lattice/Lattice.java
+++ b/src/joshua/lattice/Lattice.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 joshua.lattice;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/lattice/Node.java
----------------------------------------------------------------------
diff --git a/src/joshua/lattice/Node.java b/src/joshua/lattice/Node.java
index 5087feb..31dcea9 100644
--- a/src/joshua/lattice/Node.java
+++ b/src/joshua/lattice/Node.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 joshua.lattice;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/lattice/NodeIdentifierComparator.java
----------------------------------------------------------------------
diff --git a/src/joshua/lattice/NodeIdentifierComparator.java b/src/joshua/lattice/NodeIdentifierComparator.java
index e0dc16f..40e50b8 100644
--- a/src/joshua/lattice/NodeIdentifierComparator.java
+++ b/src/joshua/lattice/NodeIdentifierComparator.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 joshua.lattice;
 
 import java.io.Serializable;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/BLEU.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/BLEU.java b/src/joshua/metrics/BLEU.java
index 79d55e2..8f3a92a 100644
--- a/src/joshua/metrics/BLEU.java
+++ b/src/joshua/metrics/BLEU.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 joshua.metrics;
 
 import java.util.HashMap;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/BLEU_SBP.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/BLEU_SBP.java b/src/joshua/metrics/BLEU_SBP.java
index b802d27..e58256b 100644
--- a/src/joshua/metrics/BLEU_SBP.java
+++ b/src/joshua/metrics/BLEU_SBP.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 joshua.metrics;
 
 public class BLEU_SBP extends BLEU {

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/EvaluationMetric.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/EvaluationMetric.java b/src/joshua/metrics/EvaluationMetric.java
index c1da76d..f22bf47 100644
--- a/src/joshua/metrics/EvaluationMetric.java
+++ b/src/joshua/metrics/EvaluationMetric.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 joshua.metrics;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/GradeLevelBLEU.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/GradeLevelBLEU.java b/src/joshua/metrics/GradeLevelBLEU.java
index 4ec948b..06efa8b 100644
--- a/src/joshua/metrics/GradeLevelBLEU.java
+++ b/src/joshua/metrics/GradeLevelBLEU.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 joshua.metrics;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/METEOR.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/METEOR.java b/src/joshua/metrics/METEOR.java
index afa711e..d94599b 100644
--- a/src/joshua/metrics/METEOR.java
+++ b/src/joshua/metrics/METEOR.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 joshua.metrics;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/MinimumChangeBLEU.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/MinimumChangeBLEU.java b/src/joshua/metrics/MinimumChangeBLEU.java
index 8fb354e..17f78ee 100644
--- a/src/joshua/metrics/MinimumChangeBLEU.java
+++ b/src/joshua/metrics/MinimumChangeBLEU.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 joshua.metrics;
 
 import java.util.HashMap;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/NewMetric.java.template
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/NewMetric.java.template b/src/joshua/metrics/NewMetric.java.template
index 813c49d..3b8ed83 100644
--- a/src/joshua/metrics/NewMetric.java.template
+++ b/src/joshua/metrics/NewMetric.java.template
@@ -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 joshua.zmert;
 import java.math.*;
 import java.util.*;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/Precis.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/Precis.java b/src/joshua/metrics/Precis.java
index 109629a..865c6cf 100644
--- a/src/joshua/metrics/Precis.java
+++ b/src/joshua/metrics/Precis.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 joshua.metrics;
 
 import java.util.HashMap;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/PrecisMinusSourceBLEU.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/PrecisMinusSourceBLEU.java b/src/joshua/metrics/PrecisMinusSourceBLEU.java
index 353a5df..f56f8cb 100644
--- a/src/joshua/metrics/PrecisMinusSourceBLEU.java
+++ b/src/joshua/metrics/PrecisMinusSourceBLEU.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 joshua.metrics;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/SourceBLEU.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/SourceBLEU.java b/src/joshua/metrics/SourceBLEU.java
index d899a12..582b642 100644
--- a/src/joshua/metrics/SourceBLEU.java
+++ b/src/joshua/metrics/SourceBLEU.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 joshua.metrics;
 
 import java.util.HashMap;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/TER.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/TER.java b/src/joshua/metrics/TER.java
index 110671a..a36b171 100644
--- a/src/joshua/metrics/TER.java
+++ b/src/joshua/metrics/TER.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 joshua.metrics;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/TERMinusBLEU.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/TERMinusBLEU.java b/src/joshua/metrics/TERMinusBLEU.java
index 4e94ac2..ce756c6 100644
--- a/src/joshua/metrics/TERMinusBLEU.java
+++ b/src/joshua/metrics/TERMinusBLEU.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 joshua.metrics;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/TercomRunner.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/TercomRunner.java b/src/joshua/metrics/TercomRunner.java
index 048aa37..5770c49 100644
--- a/src/joshua/metrics/TercomRunner.java
+++ b/src/joshua/metrics/TercomRunner.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 joshua.metrics;
 
 import java.io.File;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/metrics/ZeroOneLoss.java
----------------------------------------------------------------------
diff --git a/src/joshua/metrics/ZeroOneLoss.java b/src/joshua/metrics/ZeroOneLoss.java
index db8b64f..ca59b77 100644
--- a/src/joshua/metrics/ZeroOneLoss.java
+++ b/src/joshua/metrics/ZeroOneLoss.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 joshua.metrics;
 
 public class ZeroOneLoss extends EvaluationMetric {

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/mira/MIRA.java
----------------------------------------------------------------------
diff --git a/src/joshua/mira/MIRA.java b/src/joshua/mira/MIRA.java
index 674d233..a0e14ac 100755
--- a/src/joshua/mira/MIRA.java
+++ b/src/joshua/mira/MIRA.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 joshua.mira;
 
 import joshua.decoder.JoshuaConfiguration;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/mira/MIRACore.java
----------------------------------------------------------------------
diff --git a/src/joshua/mira/MIRACore.java b/src/joshua/mira/MIRACore.java
index aa8feb9..02d8653 100755
--- a/src/joshua/mira/MIRACore.java
+++ b/src/joshua/mira/MIRACore.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 joshua.mira;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/mira/Optimizer.java
----------------------------------------------------------------------
diff --git a/src/joshua/mira/Optimizer.java b/src/joshua/mira/Optimizer.java
index 07365e2..d67ffbc 100755
--- a/src/joshua/mira/Optimizer.java
+++ b/src/joshua/mira/Optimizer.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 joshua.mira;
 
 import java.util.Collection;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/oracle/OracleExtractionHG.java
----------------------------------------------------------------------
diff --git a/src/joshua/oracle/OracleExtractionHG.java b/src/joshua/oracle/OracleExtractionHG.java
index 8ae0406..9c32278 100644
--- a/src/joshua/oracle/OracleExtractionHG.java
+++ b/src/joshua/oracle/OracleExtractionHG.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 joshua.oracle;
 
 import java.io.BufferedWriter;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/oracle/OracleExtractor.java
----------------------------------------------------------------------
diff --git a/src/joshua/oracle/OracleExtractor.java b/src/joshua/oracle/OracleExtractor.java
index 8de571a..d4a0019 100644
--- a/src/joshua/oracle/OracleExtractor.java
+++ b/src/joshua/oracle/OracleExtractor.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 joshua.oracle;
 
 import joshua.decoder.hypergraph.HyperGraph;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/oracle/SplitHg.java
----------------------------------------------------------------------
diff --git a/src/joshua/oracle/SplitHg.java b/src/joshua/oracle/SplitHg.java
index 3595085..5f2a38b 100644
--- a/src/joshua/oracle/SplitHg.java
+++ b/src/joshua/oracle/SplitHg.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 joshua.oracle;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/pro/ClassifierInterface.java
----------------------------------------------------------------------
diff --git a/src/joshua/pro/ClassifierInterface.java b/src/joshua/pro/ClassifierInterface.java
index 0dde59f..0a0607c 100755
--- a/src/joshua/pro/ClassifierInterface.java
+++ b/src/joshua/pro/ClassifierInterface.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 joshua.pro;
 
 import java.util.Vector;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/pro/ClassifierMegaM.java
----------------------------------------------------------------------
diff --git a/src/joshua/pro/ClassifierMegaM.java b/src/joshua/pro/ClassifierMegaM.java
index c233dcb..ba89b5b 100755
--- a/src/joshua/pro/ClassifierMegaM.java
+++ b/src/joshua/pro/ClassifierMegaM.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 joshua.pro;
 
 import java.io.File;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/pro/ClassifierPerceptron.java
----------------------------------------------------------------------
diff --git a/src/joshua/pro/ClassifierPerceptron.java b/src/joshua/pro/ClassifierPerceptron.java
index 7f06456..e2ba5b3 100755
--- a/src/joshua/pro/ClassifierPerceptron.java
+++ b/src/joshua/pro/ClassifierPerceptron.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 joshua.pro;
 
 import java.util.Vector;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/pro/ClassifierSVM.java
----------------------------------------------------------------------
diff --git a/src/joshua/pro/ClassifierSVM.java b/src/joshua/pro/ClassifierSVM.java
index 79a9771..1050139 100755
--- a/src/joshua/pro/ClassifierSVM.java
+++ b/src/joshua/pro/ClassifierSVM.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 joshua.pro;
 
 import java.io.File;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/pro/Optimizer.java
----------------------------------------------------------------------
diff --git a/src/joshua/pro/Optimizer.java b/src/joshua/pro/Optimizer.java
index bc01d21..3dbf4d4 100755
--- a/src/joshua/pro/Optimizer.java
+++ b/src/joshua/pro/Optimizer.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 joshua.pro;
 
 import java.util.Comparator;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/pro/PRO.java
----------------------------------------------------------------------
diff --git a/src/joshua/pro/PRO.java b/src/joshua/pro/PRO.java
index 3babeef..492912a 100755
--- a/src/joshua/pro/PRO.java
+++ b/src/joshua/pro/PRO.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 joshua.pro;
 
 import joshua.decoder.JoshuaConfiguration;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/pro/PROCore.java
----------------------------------------------------------------------
diff --git a/src/joshua/pro/PROCore.java b/src/joshua/pro/PROCore.java
index 05c6abd..9e0a09a 100755
--- a/src/joshua/pro/PROCore.java
+++ b/src/joshua/pro/PROCore.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 joshua.pro;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/server/ServerThread.java
----------------------------------------------------------------------
diff --git a/src/joshua/server/ServerThread.java b/src/joshua/server/ServerThread.java
index 253d80f..ac0390b 100644
--- a/src/joshua/server/ServerThread.java
+++ b/src/joshua/server/ServerThread.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 joshua.server;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/server/TcpServer.java
----------------------------------------------------------------------
diff --git a/src/joshua/server/TcpServer.java b/src/joshua/server/TcpServer.java
index c1d222f..2b63e72 100644
--- a/src/joshua/server/TcpServer.java
+++ b/src/joshua/server/TcpServer.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 joshua.server;
 
 import java.net.*;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/subsample/AlignedSubsampler.java
----------------------------------------------------------------------
diff --git a/src/joshua/subsample/AlignedSubsampler.java b/src/joshua/subsample/AlignedSubsampler.java
index 6c61c23..37480d7 100644
--- a/src/joshua/subsample/AlignedSubsampler.java
+++ b/src/joshua/subsample/AlignedSubsampler.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 joshua.subsample;
 
 import java.io.BufferedWriter;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/subsample/BiCorpusFactory.java
----------------------------------------------------------------------
diff --git a/src/joshua/subsample/BiCorpusFactory.java b/src/joshua/subsample/BiCorpusFactory.java
index 2e44981..eea8937 100644
--- a/src/joshua/subsample/BiCorpusFactory.java
+++ b/src/joshua/subsample/BiCorpusFactory.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 joshua.subsample;
 
 import java.io.File;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/subsample/PhraseWriter.java
----------------------------------------------------------------------
diff --git a/src/joshua/subsample/PhraseWriter.java b/src/joshua/subsample/PhraseWriter.java
index 7c3333b..16a3563 100644
--- a/src/joshua/subsample/PhraseWriter.java
+++ b/src/joshua/subsample/PhraseWriter.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 joshua.subsample;
 
 import java.io.BufferedWriter;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/tools/GrammarPacker.java
----------------------------------------------------------------------
diff --git a/src/joshua/tools/GrammarPacker.java b/src/joshua/tools/GrammarPacker.java
index 8eba340..33d3391 100644
--- a/src/joshua/tools/GrammarPacker.java
+++ b/src/joshua/tools/GrammarPacker.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 joshua.tools;
 
 import static joshua.decoder.ff.tm.packed.PackedGrammar.VOCABULARY_FILENAME;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/tools/GrammarPackerCli.java
----------------------------------------------------------------------
diff --git a/src/joshua/tools/GrammarPackerCli.java b/src/joshua/tools/GrammarPackerCli.java
index 84eb2eb..eef65bb 100644
--- a/src/joshua/tools/GrammarPackerCli.java
+++ b/src/joshua/tools/GrammarPackerCli.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 joshua.tools;
 
 import java.io.File;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/tools/LabelPhrases.java
----------------------------------------------------------------------
diff --git a/src/joshua/tools/LabelPhrases.java b/src/joshua/tools/LabelPhrases.java
index e606f25..9733672 100644
--- a/src/joshua/tools/LabelPhrases.java
+++ b/src/joshua/tools/LabelPhrases.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 joshua.tools;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/tools/TestSetFilter.java
----------------------------------------------------------------------
diff --git a/src/joshua/tools/TestSetFilter.java b/src/joshua/tools/TestSetFilter.java
index 64e7d84..06cea5f 100644
--- a/src/joshua/tools/TestSetFilter.java
+++ b/src/joshua/tools/TestSetFilter.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 joshua.tools;
 
 import java.io.FileNotFoundException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/ui/Orientation.java
----------------------------------------------------------------------
diff --git a/src/joshua/ui/Orientation.java b/src/joshua/ui/Orientation.java
index 08737d0..ec7b523 100644
--- a/src/joshua/ui/Orientation.java
+++ b/src/joshua/ui/Orientation.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 joshua.ui;
 
 public enum Orientation {

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/ui/StartupWindow.java
----------------------------------------------------------------------
diff --git a/src/joshua/ui/StartupWindow.java b/src/joshua/ui/StartupWindow.java
index 9f69649..6fc37a2 100644
--- a/src/joshua/ui/StartupWindow.java
+++ b/src/joshua/ui/StartupWindow.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 joshua.ui;
 
 import java.awt.BorderLayout;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/ui/tree_visualizer/DerivationTree.java
----------------------------------------------------------------------
diff --git a/src/joshua/ui/tree_visualizer/DerivationTree.java b/src/joshua/ui/tree_visualizer/DerivationTree.java
index 846eaaf..86b9618 100644
--- a/src/joshua/ui/tree_visualizer/DerivationTree.java
+++ b/src/joshua/ui/tree_visualizer/DerivationTree.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 joshua.ui.tree_visualizer;
 
 import java.util.Arrays;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/ui/tree_visualizer/DerivationTreeEdge.java
----------------------------------------------------------------------
diff --git a/src/joshua/ui/tree_visualizer/DerivationTreeEdge.java b/src/joshua/ui/tree_visualizer/DerivationTreeEdge.java
index 718a8bd..b457f95 100644
--- a/src/joshua/ui/tree_visualizer/DerivationTreeEdge.java
+++ b/src/joshua/ui/tree_visualizer/DerivationTreeEdge.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 joshua.ui.tree_visualizer;
 
 public class DerivationTreeEdge {

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java
----------------------------------------------------------------------
diff --git a/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java b/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java
index 2ca3d67..9bdeefe 100644
--- a/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java
+++ b/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.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 joshua.ui.tree_visualizer;
 
 import java.awt.Dimension;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/ui/tree_visualizer/DerivationViewer.java
----------------------------------------------------------------------
diff --git a/src/joshua/ui/tree_visualizer/DerivationViewer.java b/src/joshua/ui/tree_visualizer/DerivationViewer.java
index 466537d..cc8a701 100644
--- a/src/joshua/ui/tree_visualizer/DerivationViewer.java
+++ b/src/joshua/ui/tree_visualizer/DerivationViewer.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 joshua.ui.tree_visualizer;
 
 import java.awt.BasicStroke;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/ui/tree_visualizer/DerivationViewerApplet.java
----------------------------------------------------------------------
diff --git a/src/joshua/ui/tree_visualizer/DerivationViewerApplet.java b/src/joshua/ui/tree_visualizer/DerivationViewerApplet.java
index 07c5d4b..7904e8e 100644
--- a/src/joshua/ui/tree_visualizer/DerivationViewerApplet.java
+++ b/src/joshua/ui/tree_visualizer/DerivationViewerApplet.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 joshua.ui.tree_visualizer;
 
 import java.awt.Color;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/ui/tree_visualizer/Node.java
----------------------------------------------------------------------
diff --git a/src/joshua/ui/tree_visualizer/Node.java b/src/joshua/ui/tree_visualizer/Node.java
index 95d8574..846fc71 100644
--- a/src/joshua/ui/tree_visualizer/Node.java
+++ b/src/joshua/ui/tree_visualizer/Node.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 joshua.ui.tree_visualizer;
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/ui/tree_visualizer/browser/Browser.java
----------------------------------------------------------------------
diff --git a/src/joshua/ui/tree_visualizer/browser/Browser.java b/src/joshua/ui/tree_visualizer/browser/Browser.java
index 535c9ca..bd5b592 100644
--- a/src/joshua/ui/tree_visualizer/browser/Browser.java
+++ b/src/joshua/ui/tree_visualizer/browser/Browser.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 joshua.ui.tree_visualizer.browser;
 
 import joshua.ui.tree_visualizer.tree.Tree;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/ui/tree_visualizer/browser/DerivationTreeFrame.java
----------------------------------------------------------------------
diff --git a/src/joshua/ui/tree_visualizer/browser/DerivationTreeFrame.java b/src/joshua/ui/tree_visualizer/browser/DerivationTreeFrame.java
index 4fbb13b..a08b370 100644
--- a/src/joshua/ui/tree_visualizer/browser/DerivationTreeFrame.java
+++ b/src/joshua/ui/tree_visualizer/browser/DerivationTreeFrame.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 joshua.ui.tree_visualizer.browser;
 
 import java.awt.BorderLayout;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/ui/tree_visualizer/browser/TranslationInfo.java
----------------------------------------------------------------------
diff --git a/src/joshua/ui/tree_visualizer/browser/TranslationInfo.java b/src/joshua/ui/tree_visualizer/browser/TranslationInfo.java
index 7c5b7a1..8fde26f 100644
--- a/src/joshua/ui/tree_visualizer/browser/TranslationInfo.java
+++ b/src/joshua/ui/tree_visualizer/browser/TranslationInfo.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 joshua.ui.tree_visualizer.browser;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/ui/tree_visualizer/tree/Tree.java
----------------------------------------------------------------------
diff --git a/src/joshua/ui/tree_visualizer/tree/Tree.java b/src/joshua/ui/tree_visualizer/tree/Tree.java
index c306340..409e30a 100644
--- a/src/joshua/ui/tree_visualizer/tree/Tree.java
+++ b/src/joshua/ui/tree_visualizer/tree/Tree.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 joshua.ui.tree_visualizer.tree;
 
 import java.util.Stack;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/Algorithms.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/Algorithms.java b/src/joshua/util/Algorithms.java
index e7b67f4..0f25ee2 100644
--- a/src/joshua/util/Algorithms.java
+++ b/src/joshua/util/Algorithms.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 joshua.util;
 
 public final class Algorithms {

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/Bits.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/Bits.java b/src/joshua/util/Bits.java
index 311b9fd..2b95a5e 100644
--- a/src/joshua/util/Bits.java
+++ b/src/joshua/util/Bits.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 joshua.util;
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/BotMap.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/BotMap.java b/src/joshua/util/BotMap.java
index 4612b0c..32dea01 100644
--- a/src/joshua/util/BotMap.java
+++ b/src/joshua/util/BotMap.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 joshua.util;
 
 import java.util.Collection;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/Cache.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/Cache.java b/src/joshua/util/Cache.java
index 5a5eac7..8da994b 100644
--- a/src/joshua/util/Cache.java
+++ b/src/joshua/util/Cache.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 joshua.util;
 
 // Imports

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/ChartSpan.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/ChartSpan.java b/src/joshua/util/ChartSpan.java
index 554987e..81c6aaa 100644
--- a/src/joshua/util/ChartSpan.java
+++ b/src/joshua/util/ChartSpan.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 joshua.util;
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/CommandLineParser.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/CommandLineParser.java b/src/joshua/util/CommandLineParser.java
index 110910c..d79fd55 100644
--- a/src/joshua/util/CommandLineParser.java
+++ b/src/joshua/util/CommandLineParser.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 joshua.util;
 
 import java.util.Collection;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/CompareGrammars.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/CompareGrammars.java b/src/joshua/util/CompareGrammars.java
index 828f6a3..109d7a1 100644
--- a/src/joshua/util/CompareGrammars.java
+++ b/src/joshua/util/CompareGrammars.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 joshua.util;
 
 import java.io.File;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/Counted.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/Counted.java b/src/joshua/util/Counted.java
index 4104080..1014e12 100644
--- a/src/joshua/util/Counted.java
+++ b/src/joshua/util/Counted.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 joshua.util;
 
 import java.util.Comparator;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/Counts.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/Counts.java b/src/joshua/util/Counts.java
index 3036737..4a20009 100644
--- a/src/joshua/util/Counts.java
+++ b/src/joshua/util/Counts.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 joshua.util;
 
 import java.io.IOException;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/ExtractTopCand.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/ExtractTopCand.java b/src/joshua/util/ExtractTopCand.java
index 0f02994..c24f970 100644
--- a/src/joshua/util/ExtractTopCand.java
+++ b/src/joshua/util/ExtractTopCand.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 joshua.util;
 
 import java.io.BufferedWriter;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/FileUtility.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/FileUtility.java b/src/joshua/util/FileUtility.java
index f8a0e40..0685655 100644
--- a/src/joshua/util/FileUtility.java
+++ b/src/joshua/util/FileUtility.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 joshua.util;
 
 import java.io.BufferedReader;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/FormatUtils.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/FormatUtils.java b/src/joshua/util/FormatUtils.java
index 0ca6928..3bd53e9 100644
--- a/src/joshua/util/FormatUtils.java
+++ b/src/joshua/util/FormatUtils.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 joshua.util;
 
 import java.io.PrintStream;

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/util/IntegerPair.java
----------------------------------------------------------------------
diff --git a/src/joshua/util/IntegerPair.java b/src/joshua/util/IntegerPair.java
index e451388..08cefe1 100644
--- a/src/joshua/util/IntegerPair.java
+++ b/src/joshua/util/IntegerPair.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 joshua.util;
 
 /**