http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/fragmentlm/Trees.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/fragmentlm/Trees.java b/src/joshua/decoder/ff/fragmentlm/Trees.java index 1b8be83..94a0f44 100644 --- a/src/joshua/decoder/ff/fragmentlm/Trees.java +++ b/src/joshua/decoder/ff/fragmentlm/Trees.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.fragmentlm; import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/DefaultNGramLanguageModel.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/lm/DefaultNGramLanguageModel.java b/src/joshua/decoder/ff/lm/DefaultNGramLanguageModel.java index a1d4b86..20f29f1 100644 --- a/src/joshua/decoder/ff/lm/DefaultNGramLanguageModel.java +++ b/src/joshua/decoder/ff/lm/DefaultNGramLanguageModel.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.lm; import java.util.Arrays; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/KenLM.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/lm/KenLM.java b/src/joshua/decoder/ff/lm/KenLM.java index 4202e1c..be1f1e2 100644 --- a/src/joshua/decoder/ff/lm/KenLM.java +++ b/src/joshua/decoder/ff/lm/KenLM.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.lm; import joshua.decoder.ff.lm.NGramLanguageModel; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/LanguageModelFF.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/lm/LanguageModelFF.java b/src/joshua/decoder/ff/lm/LanguageModelFF.java index 869ddae..4c98704 100644 --- a/src/joshua/decoder/ff/lm/LanguageModelFF.java +++ b/src/joshua/decoder/ff/lm/LanguageModelFF.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.lm; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/NGramLanguageModel.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/lm/NGramLanguageModel.java b/src/joshua/decoder/ff/lm/NGramLanguageModel.java index 108246c..15da650 100644 --- a/src/joshua/decoder/ff/lm/NGramLanguageModel.java +++ b/src/joshua/decoder/ff/lm/NGramLanguageModel.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.lm; /** http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/StateMinimizingLanguageModel.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/lm/StateMinimizingLanguageModel.java b/src/joshua/decoder/ff/lm/StateMinimizingLanguageModel.java index e6a340e..8f2b8a3 100644 --- a/src/joshua/decoder/ff/lm/StateMinimizingLanguageModel.java +++ b/src/joshua/decoder/ff/lm/StateMinimizingLanguageModel.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.lm; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/berkeley_lm/LMGrammarBerkeley.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/lm/berkeley_lm/LMGrammarBerkeley.java b/src/joshua/decoder/ff/lm/berkeley_lm/LMGrammarBerkeley.java index 6fd0730..d5728cf 100644 --- a/src/joshua/decoder/ff/lm/berkeley_lm/LMGrammarBerkeley.java +++ b/src/joshua/decoder/ff/lm/berkeley_lm/LMGrammarBerkeley.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.lm.berkeley_lm; import java.io.File; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/berkeley_lm/SymbolTableWrapper.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/lm/berkeley_lm/SymbolTableWrapper.java b/src/joshua/decoder/ff/lm/berkeley_lm/SymbolTableWrapper.java index 23bc677..a45dd7f 100644 --- a/src/joshua/decoder/ff/lm/berkeley_lm/SymbolTableWrapper.java +++ b/src/joshua/decoder/ff/lm/berkeley_lm/SymbolTableWrapper.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.lm.berkeley_lm; import joshua.corpus.Vocabulary; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilter.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilter.java b/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilter.java index f792be0..7f0b6a4 100644 --- a/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilter.java +++ b/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilter.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.lm.bloomfilter_lm; import java.io.Externalizable; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilterLanguageModel.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilterLanguageModel.java b/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilterLanguageModel.java index 7a5324b..c91fe38 100644 --- a/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilterLanguageModel.java +++ b/src/joshua/decoder/ff/lm/bloomfilter_lm/BloomFilterLanguageModel.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.lm.bloomfilter_lm; import java.io.Externalizable; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/phrase/Distortion.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/phrase/Distortion.java b/src/joshua/decoder/ff/phrase/Distortion.java index 959a0d7..15aced8 100644 --- a/src/joshua/decoder/ff/phrase/Distortion.java +++ b/src/joshua/decoder/ff/phrase/Distortion.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.phrase; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/similarity/EdgePhraseSimilarityFF.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/similarity/EdgePhraseSimilarityFF.java b/src/joshua/decoder/ff/similarity/EdgePhraseSimilarityFF.java index a8eaa21..22c3733 100644 --- a/src/joshua/decoder/ff/similarity/EdgePhraseSimilarityFF.java +++ b/src/joshua/decoder/ff/similarity/EdgePhraseSimilarityFF.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.similarity; import java.io.BufferedReader; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/state_maintenance/DPState.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/state_maintenance/DPState.java b/src/joshua/decoder/ff/state_maintenance/DPState.java index 3cebddd..1a02a90 100644 --- a/src/joshua/decoder/ff/state_maintenance/DPState.java +++ b/src/joshua/decoder/ff/state_maintenance/DPState.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.state_maintenance; /** http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/state_maintenance/KenLMState.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/state_maintenance/KenLMState.java b/src/joshua/decoder/ff/state_maintenance/KenLMState.java index 25542f6..906f8d8 100644 --- a/src/joshua/decoder/ff/state_maintenance/KenLMState.java +++ b/src/joshua/decoder/ff/state_maintenance/KenLMState.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.state_maintenance; /** http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/state_maintenance/NgramDPState.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/state_maintenance/NgramDPState.java b/src/joshua/decoder/ff/state_maintenance/NgramDPState.java index c5b3002..b72a5ba 100644 --- a/src/joshua/decoder/ff/state_maintenance/NgramDPState.java +++ b/src/joshua/decoder/ff/state_maintenance/NgramDPState.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.state_maintenance; import java.util.Arrays; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/AbstractGrammar.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/AbstractGrammar.java b/src/joshua/decoder/ff/tm/AbstractGrammar.java index 65c792e..8cfb2ad 100644 --- a/src/joshua/decoder/ff/tm/AbstractGrammar.java +++ b/src/joshua/decoder/ff/tm/AbstractGrammar.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/BasicRuleCollection.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/BasicRuleCollection.java b/src/joshua/decoder/ff/tm/BasicRuleCollection.java index 2b30450..6dda7f7 100644 --- a/src/joshua/decoder/ff/tm/BasicRuleCollection.java +++ b/src/joshua/decoder/ff/tm/BasicRuleCollection.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/CreateGlueGrammar.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/CreateGlueGrammar.java b/src/joshua/decoder/ff/tm/CreateGlueGrammar.java index 1e648a1..51e9fc3 100644 --- a/src/joshua/decoder/ff/tm/CreateGlueGrammar.java +++ b/src/joshua/decoder/ff/tm/CreateGlueGrammar.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm; import static joshua.decoder.ff.tm.packed.PackedGrammar.VOCABULARY_FILENAME; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/Grammar.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/Grammar.java b/src/joshua/decoder/ff/tm/Grammar.java index bd755ad..a834442 100644 --- a/src/joshua/decoder/ff/tm/Grammar.java +++ b/src/joshua/decoder/ff/tm/Grammar.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm; import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/GrammarReader.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/GrammarReader.java b/src/joshua/decoder/ff/tm/GrammarReader.java index 2ea5f2e..f94a472 100644 --- a/src/joshua/decoder/ff/tm/GrammarReader.java +++ b/src/joshua/decoder/ff/tm/GrammarReader.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/PhraseRule.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/PhraseRule.java b/src/joshua/decoder/ff/tm/PhraseRule.java index 8530aa0..8f5d249 100644 --- a/src/joshua/decoder/ff/tm/PhraseRule.java +++ b/src/joshua/decoder/ff/tm/PhraseRule.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm; import com.google.common.base.Supplier; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/Rule.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/Rule.java b/src/joshua/decoder/ff/tm/Rule.java index abef4b7..9f1fb8f 100644 --- a/src/joshua/decoder/ff/tm/Rule.java +++ b/src/joshua/decoder/ff/tm/Rule.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/RuleCollection.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/RuleCollection.java b/src/joshua/decoder/ff/tm/RuleCollection.java index 858c243..6812fd5 100644 --- a/src/joshua/decoder/ff/tm/RuleCollection.java +++ b/src/joshua/decoder/ff/tm/RuleCollection.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm; import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/SentenceFilteredGrammar.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/SentenceFilteredGrammar.java b/src/joshua/decoder/ff/tm/SentenceFilteredGrammar.java index 424ab4f..694430b 100644 --- a/src/joshua/decoder/ff/tm/SentenceFilteredGrammar.java +++ b/src/joshua/decoder/ff/tm/SentenceFilteredGrammar.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm; import java.util.Collection; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/Trie.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/Trie.java b/src/joshua/decoder/ff/tm/Trie.java index d24468d..df481d6 100644 --- a/src/joshua/decoder/ff/tm/Trie.java +++ b/src/joshua/decoder/ff/tm/Trie.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm; import java.util.Collection; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/UnsortedRuleCollectionException.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/UnsortedRuleCollectionException.java b/src/joshua/decoder/ff/tm/UnsortedRuleCollectionException.java index b71adec..71fe6b2 100644 --- a/src/joshua/decoder/ff/tm/UnsortedRuleCollectionException.java +++ b/src/joshua/decoder/ff/tm/UnsortedRuleCollectionException.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm; /** http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/format/HieroFormatReader.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/format/HieroFormatReader.java b/src/joshua/decoder/ff/tm/format/HieroFormatReader.java index d2fa405..a47813d 100644 --- a/src/joshua/decoder/ff/tm/format/HieroFormatReader.java +++ b/src/joshua/decoder/ff/tm/format/HieroFormatReader.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm.format; import joshua.corpus.Vocabulary; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/format/PhraseFormatReader.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/format/PhraseFormatReader.java b/src/joshua/decoder/ff/tm/format/PhraseFormatReader.java index 1d15227..be4d522 100644 --- a/src/joshua/decoder/ff/tm/format/PhraseFormatReader.java +++ b/src/joshua/decoder/ff/tm/format/PhraseFormatReader.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm.format; import joshua.corpus.Vocabulary; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/format/SamtFormatReader.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/format/SamtFormatReader.java b/src/joshua/decoder/ff/tm/format/SamtFormatReader.java index 50630cb..6539d38 100644 --- a/src/joshua/decoder/ff/tm/format/SamtFormatReader.java +++ b/src/joshua/decoder/ff/tm/format/SamtFormatReader.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm.format; import java.util.logging.Logger; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/hash_based/ExtensionIterator.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/hash_based/ExtensionIterator.java b/src/joshua/decoder/ff/tm/hash_based/ExtensionIterator.java index 2adea9e..d6b5b97 100644 --- a/src/joshua/decoder/ff/tm/hash_based/ExtensionIterator.java +++ b/src/joshua/decoder/ff/tm/hash_based/ExtensionIterator.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm.hash_based; import java.util.HashMap; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.java b/src/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.java index 0f67c27..4ba514a 100644 --- a/src/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.java +++ b/src/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm.hash_based; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/hash_based/MemoryBasedRuleBin.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/hash_based/MemoryBasedRuleBin.java b/src/joshua/decoder/ff/tm/hash_based/MemoryBasedRuleBin.java index 907d36f..194c594 100644 --- a/src/joshua/decoder/ff/tm/hash_based/MemoryBasedRuleBin.java +++ b/src/joshua/decoder/ff/tm/hash_based/MemoryBasedRuleBin.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm.hash_based; import joshua.decoder.ff.tm.BasicRuleCollection; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/hash_based/MemoryBasedTrie.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/hash_based/MemoryBasedTrie.java b/src/joshua/decoder/ff/tm/hash_based/MemoryBasedTrie.java index 7694ca2..baa46f7 100644 --- a/src/joshua/decoder/ff/tm/hash_based/MemoryBasedTrie.java +++ b/src/joshua/decoder/ff/tm/hash_based/MemoryBasedTrie.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm.hash_based; import java.util.Collection; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/packed/PackedGrammar.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/packed/PackedGrammar.java b/src/joshua/decoder/ff/tm/packed/PackedGrammar.java index a4c47d2..3190a97 100644 --- a/src/joshua/decoder/ff/tm/packed/PackedGrammar.java +++ b/src/joshua/decoder/ff/tm/packed/PackedGrammar.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm.packed; /*** http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/ff/tm/packed/SliceAggregatingTrie.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/ff/tm/packed/SliceAggregatingTrie.java b/src/joshua/decoder/ff/tm/packed/SliceAggregatingTrie.java index 62783fd..0cb7e26 100644 --- a/src/joshua/decoder/ff/tm/packed/SliceAggregatingTrie.java +++ b/src/joshua/decoder/ff/tm/packed/SliceAggregatingTrie.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.ff.tm.packed; import static java.util.Collections.emptyList; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/AllSpansWalker.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/AllSpansWalker.java b/src/joshua/decoder/hypergraph/AllSpansWalker.java index 5badca8..9f2ec36 100644 --- a/src/joshua/decoder/hypergraph/AllSpansWalker.java +++ b/src/joshua/decoder/hypergraph/AllSpansWalker.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; import java.util.HashSet; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/DefaultInsideOutside.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/DefaultInsideOutside.java b/src/joshua/decoder/hypergraph/DefaultInsideOutside.java index 8702a8b..69d89b7 100644 --- a/src/joshua/decoder/hypergraph/DefaultInsideOutside.java +++ b/src/joshua/decoder/hypergraph/DefaultInsideOutside.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; import java.util.HashMap; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/ForestWalker.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/ForestWalker.java b/src/joshua/decoder/hypergraph/ForestWalker.java index 3a8ab6f..bc0ee21 100644 --- a/src/joshua/decoder/hypergraph/ForestWalker.java +++ b/src/joshua/decoder/hypergraph/ForestWalker.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; import java.util.HashSet; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/GrammarBuilderWalkerFunction.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/GrammarBuilderWalkerFunction.java b/src/joshua/decoder/hypergraph/GrammarBuilderWalkerFunction.java index d294508..d3d57d1 100644 --- a/src/joshua/decoder/hypergraph/GrammarBuilderWalkerFunction.java +++ b/src/joshua/decoder/hypergraph/GrammarBuilderWalkerFunction.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; import java.io.PrintStream; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/HGNode.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/HGNode.java b/src/joshua/decoder/hypergraph/HGNode.java index b524c33..f3f550c 100644 --- a/src/joshua/decoder/hypergraph/HGNode.java +++ b/src/joshua/decoder/hypergraph/HGNode.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/HyperEdge.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/HyperEdge.java b/src/joshua/decoder/hypergraph/HyperEdge.java index 3883043..114908e 100644 --- a/src/joshua/decoder/hypergraph/HyperEdge.java +++ b/src/joshua/decoder/hypergraph/HyperEdge.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/HyperGraph.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/HyperGraph.java b/src/joshua/decoder/hypergraph/HyperGraph.java index a238fef..4443270 100644 --- a/src/joshua/decoder/hypergraph/HyperGraph.java +++ b/src/joshua/decoder/hypergraph/HyperGraph.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; import java.io.IOException; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/HyperGraphPruning.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/HyperGraphPruning.java b/src/joshua/decoder/hypergraph/HyperGraphPruning.java index cf89552..98b97d3 100644 --- a/src/joshua/decoder/hypergraph/HyperGraphPruning.java +++ b/src/joshua/decoder/hypergraph/HyperGraphPruning.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; import java.util.HashMap; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/KBestExtractor.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/KBestExtractor.java b/src/joshua/decoder/hypergraph/KBestExtractor.java index 46ab9ea..42539cc 100644 --- a/src/joshua/decoder/hypergraph/KBestExtractor.java +++ b/src/joshua/decoder/hypergraph/KBestExtractor.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; import java.io.BufferedWriter; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/StringToTreeConverter.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/StringToTreeConverter.java b/src/joshua/decoder/hypergraph/StringToTreeConverter.java index f62397d..2c85770 100644 --- a/src/joshua/decoder/hypergraph/StringToTreeConverter.java +++ b/src/joshua/decoder/hypergraph/StringToTreeConverter.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; import java.util.Stack; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/TrivialInsideOutside.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/TrivialInsideOutside.java b/src/joshua/decoder/hypergraph/TrivialInsideOutside.java index 2141fef..f6f164f 100644 --- a/src/joshua/decoder/hypergraph/TrivialInsideOutside.java +++ b/src/joshua/decoder/hypergraph/TrivialInsideOutside.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; /** http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/ViterbiExtractor.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/ViterbiExtractor.java b/src/joshua/decoder/hypergraph/ViterbiExtractor.java index 95ec7c7..1137792 100644 --- a/src/joshua/decoder/hypergraph/ViterbiExtractor.java +++ b/src/joshua/decoder/hypergraph/ViterbiExtractor.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/hypergraph/WalkerFunction.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/hypergraph/WalkerFunction.java b/src/joshua/decoder/hypergraph/WalkerFunction.java index 4258611..d46ef50 100644 --- a/src/joshua/decoder/hypergraph/WalkerFunction.java +++ b/src/joshua/decoder/hypergraph/WalkerFunction.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.hypergraph; /** http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/io/DeNormalize.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/io/DeNormalize.java b/src/joshua/decoder/io/DeNormalize.java index 948fffd..f19a67a 100644 --- a/src/joshua/decoder/io/DeNormalize.java +++ b/src/joshua/decoder/io/DeNormalize.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.io; import java.util.regex.Matcher; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/io/JSONMessage.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/io/JSONMessage.java b/src/joshua/decoder/io/JSONMessage.java index 1040b83..6b6b77f 100644 --- a/src/joshua/decoder/io/JSONMessage.java +++ b/src/joshua/decoder/io/JSONMessage.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.io; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/io/TranslationRequestStream.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/io/TranslationRequestStream.java b/src/joshua/decoder/io/TranslationRequestStream.java index 5803fdf..8f1c754 100644 --- a/src/joshua/decoder/io/TranslationRequestStream.java +++ b/src/joshua/decoder/io/TranslationRequestStream.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.io; import java.io.BufferedReader; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Candidate.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/Candidate.java b/src/joshua/decoder/phrase/Candidate.java index d39314d..4b8b6a6 100644 --- a/src/joshua/decoder/phrase/Candidate.java +++ b/src/joshua/decoder/phrase/Candidate.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; /*** http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/CandidateComparator.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/CandidateComparator.java b/src/joshua/decoder/phrase/CandidateComparator.java index dafbaad..2526ed6 100644 --- a/src/joshua/decoder/phrase/CandidateComparator.java +++ b/src/joshua/decoder/phrase/CandidateComparator.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; import java.util.Comparator; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Coverage.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/Coverage.java b/src/joshua/decoder/phrase/Coverage.java index 0bbae07..398c7a0 100644 --- a/src/joshua/decoder/phrase/Coverage.java +++ b/src/joshua/decoder/phrase/Coverage.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; import java.util.BitSet; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/CoverageTest.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/CoverageTest.java b/src/joshua/decoder/phrase/CoverageTest.java index a66533d..90bcbaf 100644 --- a/src/joshua/decoder/phrase/CoverageTest.java +++ b/src/joshua/decoder/phrase/CoverageTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; import static org.junit.Assert.*; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Future.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/Future.java b/src/joshua/decoder/phrase/Future.java index ee923c9..22a0225 100644 --- a/src/joshua/decoder/phrase/Future.java +++ b/src/joshua/decoder/phrase/Future.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; /*** http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Header.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/Header.java b/src/joshua/decoder/phrase/Header.java index 4395ad8..2a8370d 100644 --- a/src/joshua/decoder/phrase/Header.java +++ b/src/joshua/decoder/phrase/Header.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; // PORT: done http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Hypothesis.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/Hypothesis.java b/src/joshua/decoder/phrase/Hypothesis.java index baf07bd..3d4bf51 100644 --- a/src/joshua/decoder/phrase/Hypothesis.java +++ b/src/joshua/decoder/phrase/Hypothesis.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Note.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/Note.java b/src/joshua/decoder/phrase/Note.java index dc5d75b..19e6f62 100644 --- a/src/joshua/decoder/phrase/Note.java +++ b/src/joshua/decoder/phrase/Note.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; // PORT: done http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/PhraseChart.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/PhraseChart.java b/src/joshua/decoder/phrase/PhraseChart.java index 6b01f14..a0179ff 100644 --- a/src/joshua/decoder/phrase/PhraseChart.java +++ b/src/joshua/decoder/phrase/PhraseChart.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/PhraseTable.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/PhraseTable.java b/src/joshua/decoder/phrase/PhraseTable.java index 34c7e3d..bcf7135 100644 --- a/src/joshua/decoder/phrase/PhraseTable.java +++ b/src/joshua/decoder/phrase/PhraseTable.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; import java.io.File; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Stack.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/Stack.java b/src/joshua/decoder/phrase/Stack.java index 190144a..88b529a 100644 --- a/src/joshua/decoder/phrase/Stack.java +++ b/src/joshua/decoder/phrase/Stack.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/Stacks.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/Stacks.java b/src/joshua/decoder/phrase/Stacks.java index 581c4b7..eda7d8b 100644 --- a/src/joshua/decoder/phrase/Stacks.java +++ b/src/joshua/decoder/phrase/Stacks.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; /*** http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/phrase/TargetPhrases.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/phrase/TargetPhrases.java b/src/joshua/decoder/phrase/TargetPhrases.java index 16cd49c..83b69d0 100644 --- a/src/joshua/decoder/phrase/TargetPhrases.java +++ b/src/joshua/decoder/phrase/TargetPhrases.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.phrase; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/segment_file/ConstraintRule.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/segment_file/ConstraintRule.java b/src/joshua/decoder/segment_file/ConstraintRule.java index 11dd62f..9968640 100644 --- a/src/joshua/decoder/segment_file/ConstraintRule.java +++ b/src/joshua/decoder/segment_file/ConstraintRule.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.segment_file; import javax.swing.text.Segment; http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/011668ce/src/joshua/decoder/segment_file/ConstraintSpan.java ---------------------------------------------------------------------- diff --git a/src/joshua/decoder/segment_file/ConstraintSpan.java b/src/joshua/decoder/segment_file/ConstraintSpan.java index a79f98d..c8087bd 100644 --- a/src/joshua/decoder/segment_file/ConstraintSpan.java +++ b/src/joshua/decoder/segment_file/ConstraintSpan.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package joshua.decoder.segment_file; import java.util.List;
