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; /**
