You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by fc...@apache.org on 2011/07/14 16:26:05 UTC
svn commit: r1146728 - in /incubator/stanbol/trunk/enhancer/autotagging: ./
samples/ src/main/java/org/apache/stanbol/autotagging/
src/main/java/org/apache/stanbol/autotagging/cli/
src/main/java/org/apache/stanbol/autotagging/jena/ src/main/resources/ ...
Author: fchrist
Date: Thu Jul 14 14:26:04 2011
New Revision: 1146728
URL: http://svn.apache.org/viewvc?rev=1146728&view=rev
Log:
STANBOL-272 Added AL20 headers to Enhancer Autotagging
Added:
incubator/stanbol/trunk/enhancer/autotagging/samples/README
incubator/stanbol/trunk/enhancer/autotagging/src/test/resources/README
Removed:
incubator/stanbol/trunk/enhancer/autotagging/src/main/resources/
Modified:
incubator/stanbol/trunk/enhancer/autotagging/pom.xml
incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/Autotagger.java
incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/TagInfo.java
incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/cli/CommandLineRunner.java
incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ModelIndexer.java
incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ModelResampler.java
incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ResourceInfo.java
incubator/stanbol/trunk/enhancer/autotagging/src/test/java/org/apache/stanbol/autotagging/AutotaggingTest.java
incubator/stanbol/trunk/enhancer/autotagging/src/test/java/org/apache/stanbol/autotagging/ModelResamplerTest.java
Modified: incubator/stanbol/trunk/enhancer/autotagging/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/autotagging/pom.xml?rev=1146728&r1=1146727&r2=1146728&view=diff
==============================================================================
--- incubator/stanbol/trunk/enhancer/autotagging/pom.xml (original)
+++ incubator/stanbol/trunk/enhancer/autotagging/pom.xml Thu Jul 14 14:26:04 2011
@@ -54,6 +54,21 @@
</archive>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <!-- License provided in samples/README -->
+ <exclude>samples/russia_timezones.txt</exclude>
+ <exclude>samples/bob_marley.txt</exclude>
+ <exclude>samples/jimi_hendrix.txt</exclude>
+ <!-- License provided in src/test/resources/README -->
+ <exclude>src/test/resources/dbpedia_3.4_longabstract_en.nt</exclude>
+ <exclude>src/test/resources/dbpedia_3.4_instancetype_en.nt</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
</build>
Added: incubator/stanbol/trunk/enhancer/autotagging/samples/README
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/autotagging/samples/README?rev=1146728&view=auto
==============================================================================
--- incubator/stanbol/trunk/enhancer/autotagging/samples/README (added)
+++ incubator/stanbol/trunk/enhancer/autotagging/samples/README Thu Jul 14 14:26:04 2011
@@ -0,0 +1,21 @@
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+The following files are provided under the Apache License, Version 2.0:
+
+russia_timezones.txt
+bob_marley.txt
+jimi_hendrix.txt
+
Modified: incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/Autotagger.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/Autotagger.java?rev=1146728&r1=1146727&r2=1146728&view=diff
==============================================================================
--- incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/Autotagger.java (original)
+++ incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/Autotagger.java Thu Jul 14 14:26:04 2011
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES 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.stanbol.autotagging;
import java.io.IOException;
Modified: incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/TagInfo.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/TagInfo.java?rev=1146728&r1=1146727&r2=1146728&view=diff
==============================================================================
--- incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/TagInfo.java (original)
+++ incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/TagInfo.java Thu Jul 14 14:26:04 2011
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES 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.stanbol.autotagging;
Modified: incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/cli/CommandLineRunner.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/cli/CommandLineRunner.java?rev=1146728&r1=1146727&r2=1146728&view=diff
==============================================================================
--- incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/cli/CommandLineRunner.java (original)
+++ incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/cli/CommandLineRunner.java Thu Jul 14 14:26:04 2011
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES 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.stanbol.autotagging.cli;
import java.io.File;
Modified: incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ModelIndexer.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ModelIndexer.java?rev=1146728&r1=1146727&r2=1146728&view=diff
==============================================================================
--- incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ModelIndexer.java (original)
+++ incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ModelIndexer.java Thu Jul 14 14:26:04 2011
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES 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.stanbol.autotagging.jena;
import java.io.Closeable;
Modified: incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ModelResampler.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ModelResampler.java?rev=1146728&r1=1146727&r2=1146728&view=diff
==============================================================================
--- incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ModelResampler.java (original)
+++ incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ModelResampler.java Thu Jul 14 14:26:04 2011
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES 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.stanbol.autotagging.jena;
import java.io.File;
Modified: incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ResourceInfo.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ResourceInfo.java?rev=1146728&r1=1146727&r2=1146728&view=diff
==============================================================================
--- incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ResourceInfo.java (original)
+++ incubator/stanbol/trunk/enhancer/autotagging/src/main/java/org/apache/stanbol/autotagging/jena/ResourceInfo.java Thu Jul 14 14:26:04 2011
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES 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.stanbol.autotagging.jena;
import com.hp.hpl.jena.rdf.model.Resource;
Modified: incubator/stanbol/trunk/enhancer/autotagging/src/test/java/org/apache/stanbol/autotagging/AutotaggingTest.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/autotagging/src/test/java/org/apache/stanbol/autotagging/AutotaggingTest.java?rev=1146728&r1=1146727&r2=1146728&view=diff
==============================================================================
--- incubator/stanbol/trunk/enhancer/autotagging/src/test/java/org/apache/stanbol/autotagging/AutotaggingTest.java (original)
+++ incubator/stanbol/trunk/enhancer/autotagging/src/test/java/org/apache/stanbol/autotagging/AutotaggingTest.java Thu Jul 14 14:26:04 2011
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES 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.stanbol.autotagging;
import static org.junit.Assert.assertEquals;
Modified: incubator/stanbol/trunk/enhancer/autotagging/src/test/java/org/apache/stanbol/autotagging/ModelResamplerTest.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/autotagging/src/test/java/org/apache/stanbol/autotagging/ModelResamplerTest.java?rev=1146728&r1=1146727&r2=1146728&view=diff
==============================================================================
--- incubator/stanbol/trunk/enhancer/autotagging/src/test/java/org/apache/stanbol/autotagging/ModelResamplerTest.java (original)
+++ incubator/stanbol/trunk/enhancer/autotagging/src/test/java/org/apache/stanbol/autotagging/ModelResamplerTest.java Thu Jul 14 14:26:04 2011
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES 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.stanbol.autotagging;
import static org.junit.Assert.assertEquals;
Added: incubator/stanbol/trunk/enhancer/autotagging/src/test/resources/README
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/autotagging/src/test/resources/README?rev=1146728&view=auto
==============================================================================
--- incubator/stanbol/trunk/enhancer/autotagging/src/test/resources/README (added)
+++ incubator/stanbol/trunk/enhancer/autotagging/src/test/resources/README Thu Jul 14 14:26:04 2011
@@ -0,0 +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.
+
+The following files are provided under the Apache License, Version 2.0:
+
+dbpedia_3.4_longabstract_en.nt
+dbpedia_3.4_instancetype_en.nt
+