You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by rz...@apache.org on 2023/02/20 08:45:26 UTC

[opennlp-sandbox] 01/01: Re-adds apache-rat. Cures missing license headers.

This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch apache-rat
in repository https://gitbox.apache.org/repos/asf/opennlp-sandbox.git

commit 5154187f0d0ea32b10ea8de1fef4b897c172e60a
Author: Richard Zowalla <ri...@hs-heilbronn.de>
AuthorDate: Mon Feb 20 09:45:17 2023 +0100

    Re-adds apache-rat. Cures missing license headers.
---
 aws-ec2-testing-scripts/build-ami.sh               | 15 ++++
 corpus-server/corpus-server-core/pom.xml           | 20 +++++
 mahout-addon/src/main/java/SimpleTest.java         | 17 +++++
 .../multithreaded/BingWebQueryRunnerThread.java    | 19 +++++
 .../apps/contentgen/multithreaded/Fragment.java    | 19 +++++
 .../apps/contentgen/multithreaded/MyEvent.java     | 19 +++++
 .../contentgen/multithreaded/MyEventListener.java  | 19 +++++
 .../contentgen/multithreaded/cgRequestForm.html    | 19 ++++-
 .../multithreaded/nlProg2codeRequestForm.html      | 19 ++++-
 .../BingAPIProductSearchManager.java               | 19 +++++
 .../opennlp/tools/jsmlearning/JSMDecision.java     | 19 +++++
 .../java/opennlp/tools/parse_thicket/ArcType.java  | 19 +++++
 .../opennlp/tools/parse_thicket/IGeneralizer.java  | 19 +++++
 .../opennlp/tools/parse_thicket/ParseTreeNode.java | 19 +++++
 .../java/opennlp/tools/parse_thicket/Triple.java   | 19 +++++
 .../tools/parse_thicket/VerbNetProcessor.java      | 19 +++++
 .../WordWordInterSentenceRelationArc.java          | 19 +++++
 .../CommunicativeActionsArcBuilder.java            | 19 +++++
 .../CommunicativeActionsAttribute.java             | 19 +++++
 .../matching/ParseTreeNodeGeneralizer.java         | 19 +++++
 .../similarity/apps/SentenceTranslate.java.txt     | 21 +++++-
 .../tools/similarity/apps/solr/CommentsRel.java    | 19 +++++
 .../tools/similarity/apps/solr/cgRequestForm.html  | 17 +++++
 .../src/test/resources/sentence_parseObject.csv    | 88 ----------------------
 pom.xml                                            | 20 ++++-
 rat-excludes                                       | 29 -------
 .../namefind/BratNameFinderResource.java           | 19 +++++
 tf-ner-poc/pom.xml                                 | 20 +++++
 .../opennlp/namefinder/FeedDictionaryTest.java     | 19 +++++
 .../org/apache/opennlp/namefinder/PredictTest.java | 19 +++++
 .../apache/opennlp/namefinder/WordIndexerTest.java | 19 +++++
 31 files changed, 542 insertions(+), 123 deletions(-)

diff --git a/aws-ec2-testing-scripts/build-ami.sh b/aws-ec2-testing-scripts/build-ami.sh
index fe887ef..a234303 100755
--- a/aws-ec2-testing-scripts/build-ami.sh
+++ b/aws-ec2-testing-scripts/build-ami.sh
@@ -1,4 +1,19 @@
 #!/bin/bash
 
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 packer build ./packer.json
 
diff --git a/corpus-server/corpus-server-core/pom.xml b/corpus-server/corpus-server-core/pom.xml
index a83351e..d032600 100644
--- a/corpus-server/corpus-server-core/pom.xml
+++ b/corpus-server/corpus-server-core/pom.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.
+-->
+
 <project xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/mahout-addon/src/main/java/SimpleTest.java b/mahout-addon/src/main/java/SimpleTest.java
index cba234a..18773cd 100644
--- a/mahout-addon/src/main/java/SimpleTest.java
+++ b/mahout-addon/src/main/java/SimpleTest.java
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import org.apache.mahout.classifier.sgd.PassiveAggressive;
 import org.apache.mahout.math.RandomAccessSparseVector;
 import org.apache.mahout.math.Vector;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/BingWebQueryRunnerThread.java b/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/BingWebQueryRunnerThread.java
index 0fd1752..abd1967 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/BingWebQueryRunnerThread.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/BingWebQueryRunnerThread.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.apps.contentgen.multithreaded;
 
 import java.util.ArrayList;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/Fragment.java b/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/Fragment.java
index d204f76..6d55a33 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/Fragment.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/Fragment.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.apps.contentgen.multithreaded;
 
 import opennlp.tools.similarity.apps.utils.StringDistanceMeasurer;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/MyEvent.java b/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/MyEvent.java
index bd9ee1f..d2cb04b 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/MyEvent.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/MyEvent.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.apps.contentgen.multithreaded;
 
 import java.util.EventObject;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/MyEventListener.java b/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/MyEventListener.java
index cf2d69d..2d49d9b 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/MyEventListener.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/MyEventListener.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.apps.contentgen.multithreaded;
 
 import java.util.EventListener;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/cgRequestForm.html b/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/cgRequestForm.html
index 0b8013b..2e3d2fb 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/cgRequestForm.html
+++ b/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/cgRequestForm.html
@@ -1,6 +1,23 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
- 
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
 <html xmlns='http://www.w3.org/1999/xhtml'>
    <head >
       <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/nlProg2codeRequestForm.html b/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/nlProg2codeRequestForm.html
index a1be468..313847e 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/nlProg2codeRequestForm.html
+++ b/opennlp-similarity/src/main/java/opennlp/tools/apps/contentgen/multithreaded/nlProg2codeRequestForm.html
@@ -1,6 +1,23 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
- 
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
 <html xmlns='http://www.w3.org/1999/xhtml'>
    <head >
       <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/apps/review_builder/BingAPIProductSearchManager.java b/opennlp-similarity/src/main/java/opennlp/tools/apps/review_builder/BingAPIProductSearchManager.java
index 08f0ac1..2003fb9 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/apps/review_builder/BingAPIProductSearchManager.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/apps/review_builder/BingAPIProductSearchManager.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.apps.review_builder;
 
 import java.util.ArrayList;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/jsmlearning/JSMDecision.java b/opennlp-similarity/src/main/java/opennlp/tools/jsmlearning/JSMDecision.java
index f451b39..b7f2540 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/jsmlearning/JSMDecision.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/jsmlearning/JSMDecision.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.jsmlearning;
 
 import java.util.ArrayList;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/ArcType.java b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/ArcType.java
index 9dc1e2e..8db5c48 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/ArcType.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/ArcType.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.parse_thicket;
 
 public class ArcType{
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/IGeneralizer.java b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/IGeneralizer.java
index a95f817..78b2d49 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/IGeneralizer.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/IGeneralizer.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.parse_thicket;
 
 import java.util.List;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/ParseTreeNode.java b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/ParseTreeNode.java
index 59cad3b..8d87b9c 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/ParseTreeNode.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/ParseTreeNode.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.parse_thicket;
 
 import java.util.ArrayList;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/Triple.java b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/Triple.java
index 5263133..3430a8f 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/Triple.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/Triple.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.parse_thicket;
 
 import java.util.Comparator;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/VerbNetProcessor.java b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/VerbNetProcessor.java
index abd5b90..ef54ab4 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/VerbNetProcessor.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/VerbNetProcessor.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.parse_thicket;
 
 import java.io.File;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/WordWordInterSentenceRelationArc.java b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/WordWordInterSentenceRelationArc.java
index 787f9a7..c704697 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/WordWordInterSentenceRelationArc.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/WordWordInterSentenceRelationArc.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.parse_thicket;
 
 public class WordWordInterSentenceRelationArc {
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/communicative_actions/CommunicativeActionsArcBuilder.java b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/communicative_actions/CommunicativeActionsArcBuilder.java
index 7579cf9..9d21d05 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/communicative_actions/CommunicativeActionsArcBuilder.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/communicative_actions/CommunicativeActionsArcBuilder.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.parse_thicket.communicative_actions;
 
 import java.util.ArrayList;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/communicative_actions/CommunicativeActionsAttribute.java b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/communicative_actions/CommunicativeActionsAttribute.java
index a7bc65c..12daa33 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/communicative_actions/CommunicativeActionsAttribute.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/communicative_actions/CommunicativeActionsAttribute.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.parse_thicket.communicative_actions;
 
 import java.util.ArrayList;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/matching/ParseTreeNodeGeneralizer.java b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/matching/ParseTreeNodeGeneralizer.java
index de10af9..0b1095a 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/matching/ParseTreeNodeGeneralizer.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/parse_thicket/matching/ParseTreeNodeGeneralizer.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.parse_thicket.matching;
 
 import java.util.ArrayList;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/SentenceTranslate.java.txt b/opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/SentenceTranslate.java.txt
index 7b3a06d..4b22e1e 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/SentenceTranslate.java.txt
+++ b/opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/SentenceTranslate.java.txt
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.similarity.apps;
 
 
@@ -208,5 +227,5 @@ public class SentenceTranslate {
          * @param args
          */
         public static void main(String[] args) throws Exception {
-                SentenceTranslate.improveSentenceTranslationBySimilartyAssessment(SentenceTranslate.executeByMicrosoftTranslator("� �����������, 8 �������, ������ ����� ����� �������� � ���������� ����� ���� ���������������� �������, ������� � ���� ���� ����� �������."));
+                SentenceTranslate.improveSentenceTranslationBySimilartyAssessment(SentenceTranslate.executeByMicrosoftTranslator("� �����������, 8 �������, ������ ����� ����� �������� � ���������� ����� ���� ���������������� �������, ������� � ���� ���� ����� �������."));
         }}
\ No newline at end of file
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/solr/CommentsRel.java b/opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/solr/CommentsRel.java
index f9870d1..287181e 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/solr/CommentsRel.java
+++ b/opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/solr/CommentsRel.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package opennlp.tools.similarity.apps.solr;
 
 import java.io.File;
diff --git a/opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/solr/cgRequestForm.html b/opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/solr/cgRequestForm.html
index d126812..304c8b9 100644
--- a/opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/solr/cgRequestForm.html
+++ b/opennlp-similarity/src/main/java/opennlp/tools/similarity/apps/solr/cgRequestForm.html
@@ -1,5 +1,22 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
  
 <html xmlns='http://www.w3.org/1999/xhtml'>
    <head >
diff --git a/opennlp-similarity/src/test/resources/sentence_parseObject.csv b/opennlp-similarity/src/test/resources/sentence_parseObject.csv
index c11ec1d..cff6c5e 100644
--- a/opennlp-similarity/src/test/resources/sentence_parseObject.csv
+++ b/opennlp-similarity/src/test/resources/sentence_parseObject.csv
@@ -1250,91 +1250,3 @@
 "B-NP","B-VP","I-VP","I-VP","B-NP","I-NP","I-NP","B-PP","B-NP","I-NP","O","B-VP","B-NP","I-NP","B-PP","I-PP","B-NP","B-SBAR","B-NP"
 "PRP","VBP","TO","VB","PRP$","JJ","NN","TO","PRP$","NNS","CC","VB","JJ","NNS","JJ","IN","NN","IN","PRP"
 "I","need","to","add","my","rental","income","to","my","profits","but","subtract","rental","expenses","such","as","repair","from","it"
-"Remember the Milk is a web application with numerous mobile app .  complete today will automatically get moved to the tomorrow column. ."
-"B-VP","B-NP","I-NP","B-VP","B-NP","I-NP","I-NP","B-PP","B-NP","I-NP","I-NP","I-NP","I-NP","B-VP","I-VP","I-VP","I-VP","B-PP","B-NP","I-NP","I-NP"
-"VB","DT","NN","VBZ","DT","NN","NN","IN","JJ","JJ","NN","JJ","NN","MD","RB","VB","VBN","TO","DT","NN","NN"
-"Remember","the","Milk","is","a","web","application","with","numerous","mobile","app","complete","today","will","automatically","get","moved","to","the","tomorrow","column"
-"I am afraid I will end up paying the tax."
-"B-NP","B-VP","B-ADJP","B-NP","B-VP","I-VP","B-ADVP","B-VP","B-NP","I-NP"
-"PRP","VBP","JJ","PRP","MD","VB","RP","VBG","DT","NN"
-"I","am","afraid","I","will","end","up","paying","the","tax"
-"PBS Airdate: October 11, 2005."
-"B-NP","I-NP","I-NP","I-NP","I-NP"
-"NNP","NNP","NNP","CD","CD"
-"PBS","Airdate","October","11","2005"
-"I need to add my rental income to my profits, but subtract rental expenses such as repair from it. "
-"B-NP","B-VP","I-VP","I-VP","B-NP","I-NP","I-NP","B-PP","B-NP","I-NP","O","B-VP","B-NP","I-NP","B-PP","I-PP","B-NP","B-SBAR","B-NP"
-"PRP","VBP","TO","VB","PRP$","JJ","NN","TO","PRP$","NNS","CC","VB","JJ","NNS","JJ","IN","NN","IN","PRP"
-"I","need","to","add","my","rental","income","to","my","profits","but","subtract","rental","expenses","such","as","repair","from","it"
-"Its classy design and the Mercedes name make it a very cool vehicle to drive."
-"B-NP","I-NP","I-NP","O","B-NP","I-NP","I-NP","B-VP","B-NP","B-NP","I-NP","I-NP","I-NP","B-PP","B-NP"
-"PRP$","JJ","NN","CC","DT","NNP","NN","VBP","PRP","DT","RB","JJ","NN","TO","NN"
-"Its","classy","design","and","the","Mercedes","name","make","it","a","very","cool","vehicle","to","drive"
-"He enjoyed classical music and played the violin."
-"B-NP","B-VP","B-NP","I-NP","O","B-VP","B-NP","I-NP"
-"PRP","VBD","JJ","NN","CC","VBD","DT","NN"
-"He","enjoyed","classical","music","and","played","the","violin"
-"Way to minimize medical expense for my daughter"
-"B-NP","B-VP","I-VP","B-NP","I-NP","B-PP","B-NP","I-NP"
-"NN","TO","VB","JJ","NN","IN","PRP$","NN"
-"Way","to","minimize","medical","expense","for","my","daughter"
-"Americans are right to be angry about it."
-"B-NP","B-VP","B-ADJP","B-VP","I-VP","B-ADJP","B-PP","B-NP"
-"NNPS","VBP","JJ","TO","VB","JJ","IN","PRP"
-"Americans","are","right","to","be","angry","about","it"
-"Military sex-abuse crisis hits new low in Fort Hood ..."
-"B-NP","I-NP","I-NP","I-NP","B-VP","B-NP","I-NP","B-PP","B-NP","I-NP"
-"JJ","NN","NN","NN","VBZ","JJ","JJ","IN","NNP","NNP"
-"Military","sex","abuse","crisis","hits","new","low","in","Fort","Hood"
-"It's sometimes hard to function and hard to want to get out of bed .  Posted in baby amelia   3 Comments � .  I realized that time has gotten away from me, for tomorrow Amelia would have been four weeks old. .  by now, and hopefully, had become an accomplished milk-cow. . ."
-"B-NP","B-VP","B-ADVP","B-ADJP","B-VP","I-VP","O","B-ADVP","B-VP","I-VP","I-VP","I-VP","B-PP","B-PP","B-NP","B-VP","B-PP","B-NP","I-NP","B-NP","I-NP","B-NP","B-VP","B-SBAR","B-NP","B-VP","I-VP","B-ADVP","B-PP","B-NP","B-PP","B-NP","I-NP","B-VP","I-VP","I-VP","B-NP","I-NP","B-ADJP","B-PP","B-ADVP","O","B-VP","I-VP","I-VP","B-NP","I-NP","I-NP","I-NP"
-"PRP","VBZ","RB","JJ","TO","VB","CC","JJ","TO","VB","TO","VB","IN","IN","NN","VBN","IN","NN","NNS","CD","NNS","PRP","VBD","IN","NN","VBZ","VBN","RB","IN","PRP","IN","NN","NNP","MD","VB","VBN","CD","NNS","JJ","IN","RB","CC","RB","VBD","VBN","DT","JJ","NN","NN"
-"It","s","sometimes","hard","to","function","and","hard","to","want","to","get","out","of","bed","Posted","in","baby","amelia","3","Comments","I","realized","that","time","has","gotten","away","from","me","for","tomorrow","Amelia","would","have","been","four","weeks","old","by","now","and","hopefully","had","become","an","accomplished","milk","cow"
-"Pulitzer Prize-Winning Reporter is an Illegal Immigrant"
-"B-NP","I-NP","I-NP","I-NP","B-VP","B-NP","I-NP","I-NP"
-"NNP","NNP","NNP","NNP","VBZ","DT","NNP","NN"
-"Pulitzer","Prize","Winning","Reporter","is","an","Illegal","Immigrant"
-"Join Tagged and be friends with Damaya Lady D Jones - it's free! .  Purpose Driven Life by Rick Warren, Milk In My Coffee by Eric Jerome Dickey, .  I know tomorrow is not promised so I always try to remember to cherish LIFE because ."
-"B-VP","B-NP","I-NP","I-NP","I-NP","B-PP","B-NP","I-NP","I-NP","I-NP","B-NP","B-VP","B-NP","I-NP","I-NP","I-NP","B-PP","B-NP","I-NP","I-NP","B-PP","B-NP","I-NP","B-PP","B-NP","I-NP","I-NP","B-NP","B-VP","B-NP","B-VP","I-VP","I-VP","B-PP","B-NP","B-ADVP","B-VP","I-VP","I-VP","B-PP","B-NP","I-NP","B-SBAR"
-"VB","JJ","CC","VB","NNS","IN","NNP","NNP","NNP","NNP","PRP","VBZ","JJ","NN","VBN","NN","IN","NNP","NNP","NNP","IN","PRP$","NNP","IN","NNP","NNP","NNP","PRP","VBP","NN","VBZ","RB","VBN","IN","PRP","RB","VBP","TO","VB","TO","JJ","NNP","IN"
-"Join","Tagged","and","be","friends","with","Damaya","Lady","D","Jones","it","s","free","Purpose","Driven","Life","by","Rick","Warren","Milk","In","My","Coffee","by","Eric","Jerome","Dickey","I","know","tomorrow","is","not","promised","so","I","always","try","to","remember","to","cherish","LIFE","because"
-"IRS actions were inexcusable."
-"B-NP","I-NP","B-VP","I-VP"
-"NNP","NNS","VBD","JJ"
-"IRS","actions","were","inexcusable"
-"Einstein s Big Idea."
-"B-NP","B-VP","B-NP","I-NP"
-"NNP","VBZ","JJ","NN"
-"Einstein","s","Big","Idea"
-"IRS targeting - Conservative Tribune"
-"B-NP","B-VP","B-NP","I-NP"
-"NNP","VBG","NNP","NNP"
-"IRS","targeting","Conservative","Tribune"
-"Albert Einstein - Biographical"
-"B-NP","I-NP","I-NP"
-"NNP","NNP","NNP"
-"Albert","Einstein","Biographical"
-".  President Obama said that President Richard .  Judicial Watch • Obama IRS .  directed against Tea Party groups and other conservative organizations .  ."
-"B-NP","I-NP","B-VP","B-SBAR","B-NP","I-NP","I-NP","I-NP","I-NP","I-NP","B-VP","B-PP","B-NP","I-NP","I-NP","O","B-NP","I-NP","I-NP"
-"NNP","NNP","VBD","IN","NNP","NNP","NNP","NNP","NNP","NNP","VBD","IN","NNP","NNP","NNS","CC","JJ","JJ","NNS"
-"President","Obama","said","that","President","Richard","Judicial","Watch","Obama","IRS","directed","against","Tea","Party","groups","and","other","conservative","organizations"
-"When you go the the store and buy some milk you should tell everyone in line who dares to look at you funny yeah that's right I'm buying milk. ."
-"B-ADVP","B-NP","B-VP","B-NP","I-NP","I-NP","O","B-VP","B-NP","I-NP","B-NP","B-VP","I-VP","B-NP","B-PP","B-NP","B-NP","B-VP","I-VP","I-VP","B-PP","B-NP","I-NP","I-NP","B-NP","B-VP","B-ADJP","O","B-NP","B-VP","B-NP"
-"WRB","PRP","VBP","DT","DT","NN","CC","VB","DT","NN","PRP","MD","VB","NN","IN","NN","WP","VBZ","TO","VB","IN","PRP","JJ","NN","WDT","VBZ","JJ","CC","PRP","VBG","NN"
-"When","you","go","the","the","store","and","buy","some","milk","you","should","tell","everyone","in","line","who","dares","to","look","at","you","funny","yeah","that","s","right","I","m","buying","milk"
-"I receive rental income from my office."
-"B-NP","B-VP","B-NP","I-NP","B-PP","B-NP","I-NP"
-"PRP","VBP","JJ","NN","IN","PRP$","NN"
-"I","receive","rental","income","from","my","office"
-"Fort Hood soldier’s arrest is latest blow to DOD on sexual ..."
-"B-NP","I-NP","I-NP","B-VP","B-NP","B-VP","B-NP","I-NP","B-VP","I-VP","B-PP","O"
-"NNP","NNP","NN","VBZ","NN","VBZ","JJS","NN","TO","VB","IN","JJ"
-"Fort","Hood","soldier","s","arrest","is","latest","blow","to","DOD","on","sexual"
-"Remember The Milk - Services / Remember The Milk for iPad / FAQ"
-"B-VP","B-NP","I-NP","I-NP","I-NP","B-NP","I-NP","B-PP","B-NP","I-NP"
-"VB","DT","NN","NNP","NNP","DT","NN","IN","NN","NN"
-"Remember","The","Milk","Services","Remember","The","Milk","for","iPad","FAQ"
-"My rental profits are added to my taxable income.  "
-"B-NP","I-NP","I-NP","B-VP","I-VP","B-PP","B-NP","I-NP","I-NP"
-"PRP$","JJ","NNS","VBP","VBN","TO","PRP$","JJ","NN"
-"My","rental","profits","are","added","to","my","taxable","income"
diff --git a/pom.xml b/pom.xml
index dca2b4b..54fd341 100644
--- a/pom.xml
+++ b/pom.xml
@@ -342,7 +342,6 @@
                     <compilerArgument>-Xlint</compilerArgument>
                 </configuration>
             </plugin>
-            <!--  TODO re-activate checks, once plugin config has consensus.
             <plugin>
                 <groupId>org.apache.rat</groupId>
                 <artifactId>apache-rat-plugin</artifactId>
@@ -356,13 +355,28 @@
                         <configuration>
                             <excludes>
                                 <exclude>release.properties</exclude>
+                                <exclude>.gitattributes</exclude>
+                                <exclude>.github/*</exclude>
+                                <exclude>**/*.md</exclude>
+                                <!-- We do not ship files from test/resources, so ok to exclude -->
+                                <exclude>**/src/test/resources/**/*.txt</exclude>
+                                <exclude>**/src/test/resources/**/*.ari</exclude>
+                                <exclude>**/src/test/resources/**/*.csv</exclude>
+                                <exclude>**/src/test/resources/**/*.cxt</exclude>
+                                <exclude>**/src/test/resources/**/*.xml</exclude>
+                                <exclude>**/src/test/resources/**/*.sensemap</exclude>
+                                <!-- These files do not allow a license header -->
+                                <exclude>**/src/main/resources/opennlp/cfg/an/*.txt</exclude>
+                                <exclude>**/src/main/resources/opennlp/cfg/wn/*.txt</exclude>
+                                <exclude>**/src/main/java/opennlp/tools/similarity/apps/taxo_builder/taxonomy.txt</exclude>
+                                <exclude>**/src/main/java/opennlp/tools/similarity/apps/gen.txt</exclude>
+                                <!-- These files are samples in wikinews-importer -->
+                                <exclude>**/samples/*.xmi</exclude>
                             </excludes>
-                            <numUnapprovedLicenses>1000000</numUnapprovedLicenses>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
-            -->
 
             <plugin>
                 <artifactId>maven-javadoc-plugin</artifactId>
diff --git a/rat-excludes b/rat-excludes
deleted file mode 100644
index e8c850a..0000000
--- a/rat-excludes
+++ /dev/null
@@ -1,29 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.
--->
-
-src/test/resources/opennlp/tools/*/*.txt
-src/test/resources/opennlp/tools/*/*.sample
-src/test/resources/opennlp/tools/*/*.txt
-src/test/resources/opennlp/tools/*/*.train
-
-src/test/resources/*.bin
-src/test/resources/*.dict
-src/test/resources/*.train
-src/test/resources/*.train.key
-src/test/resources/*.sensemap
\ No newline at end of file
diff --git a/tagging-server/src/main/java/org/apache/opennlp/tagging_server/namefind/BratNameFinderResource.java b/tagging-server/src/main/java/org/apache/opennlp/tagging_server/namefind/BratNameFinderResource.java
index 059229a..9bcc4fd 100644
--- a/tagging-server/src/main/java/org/apache/opennlp/tagging_server/namefind/BratNameFinderResource.java
+++ b/tagging-server/src/main/java/org/apache/opennlp/tagging_server/namefind/BratNameFinderResource.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.opennlp.tagging_server.namefind;
 
 import java.util.ArrayList;
diff --git a/tf-ner-poc/pom.xml b/tf-ner-poc/pom.xml
index 4725965..5b9d697 100644
--- a/tf-ner-poc/pom.xml
+++ b/tf-ner-poc/pom.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.
+-->
+
 <project xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
diff --git a/tf-ner-poc/src/test/java/org/apache/opennlp/namefinder/FeedDictionaryTest.java b/tf-ner-poc/src/test/java/org/apache/opennlp/namefinder/FeedDictionaryTest.java
index 835ec02..cc2f66f 100644
--- a/tf-ner-poc/src/test/java/org/apache/opennlp/namefinder/FeedDictionaryTest.java
+++ b/tf-ner-poc/src/test/java/org/apache/opennlp/namefinder/FeedDictionaryTest.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.opennlp.namefinder;
 
 import org.junit.jupiter.api.BeforeAll;
diff --git a/tf-ner-poc/src/test/java/org/apache/opennlp/namefinder/PredictTest.java b/tf-ner-poc/src/test/java/org/apache/opennlp/namefinder/PredictTest.java
index 8b02f6d..4c7b906 100644
--- a/tf-ner-poc/src/test/java/org/apache/opennlp/namefinder/PredictTest.java
+++ b/tf-ner-poc/src/test/java/org/apache/opennlp/namefinder/PredictTest.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.opennlp.namefinder;
 
 import org.junit.jupiter.api.Disabled;
diff --git a/tf-ner-poc/src/test/java/org/apache/opennlp/namefinder/WordIndexerTest.java b/tf-ner-poc/src/test/java/org/apache/opennlp/namefinder/WordIndexerTest.java
index ca612b5..1a073a7 100644
--- a/tf-ner-poc/src/test/java/org/apache/opennlp/namefinder/WordIndexerTest.java
+++ b/tf-ner-poc/src/test/java/org/apache/opennlp/namefinder/WordIndexerTest.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.opennlp.namefinder;
 
 import java.io.InputStream;