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;
