You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by rw...@apache.org on 2012/12/22 13:46:16 UTC
svn commit: r1425279 - in /stanbol/trunk/enhancement-engines/entitylinking:
./ labeltokenizer-smartcn/ labeltokenizer-smartcn/src/
labeltokenizer-smartcn/src/main/ labeltokenizer-smartcn/src/main/resources/
labeltokenizer-smartcn/src/main/resources/con...
Author: rwesten
Date: Sat Dec 22 12:46:16 2012
New Revision: 1425279
URL: http://svn.apache.org/viewvc?rev=1425279&view=rev
Log:
fixes STANBOL-856
Added:
stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/ (with props)
stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/pom.xml
stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/src/
stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/src/main/
stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/src/main/resources/
stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/src/main/resources/config/
stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/src/main/resources/config/org.apache.stanbol.enhancer.engines.entityhublinking.labeltokenizer.lucene.LuceneLabelTokenizer-smartcn.config
Modified:
stanbol/trunk/enhancement-engines/entitylinking/pom.xml
Propchange: stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Dec 22 12:46:16 2012
@@ -0,0 +1 @@
+target
Added: stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/pom.xml?rev=1425279&view=auto
==============================================================================
--- stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/pom.xml (added)
+++ stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/pom.xml Sat Dec 22 12:46:16 2012
@@ -0,0 +1,83 @@
+<?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/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>org.apache.stanbol.enhancer.parent</artifactId>
+ <version>0.10.0-SNAPSHOT</version>
+ <relativePath>../../../enhancer/parent</relativePath>
+ </parent>
+
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>org.apache.stanbol.enhancer.engines.entitylinking.labeltokenizer.smartcn</artifactId>
+ <version>0.10.0-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+
+ <name>Apache Stanbol Enhancer EntityLinking LabelTokenizer Smart Chinese </name>
+ <description>
+ Configuration for the Lucene LabelTokenizer based on the Smart Chinese Analyzer
+ for the language 'zh'
+ </description>
+
+ <inceptionYear>2012</inceptionYear>
+
+ <scm>
+ <connection>
+ scm:svn:http://svn.apache.org/repos/asf/stanbol/trunk/enhancement-engines/entityhublinking/labeltokenizer-smartcn
+ </connection>
+ <developerConnection>
+ scm:svn:https://svn.apache.org/repos/asf/stanbol/trunk/enhancement-engines/entityhublinking/labeltokenizer-smartcn
+ </developerConnection>
+ <url>http://stanbol.apache.org/</url>
+ </scm>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Install-Path>config</Install-Path>
+ </instructions>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-scr-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+
+ <dependency> <!-- depend on the module the config is for -->
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>org.apache.stanbol.enhancer.engines.entitylinking.labeltokenizer.lucene</artifactId>
+ <version>0.10.0-SNAPSHOT</version>
+ </dependency>
+
+
+ </dependencies>
+
+</project>
Added: stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/src/main/resources/config/org.apache.stanbol.enhancer.engines.entityhublinking.labeltokenizer.lucene.LuceneLabelTokenizer-smartcn.config
URL: http://svn.apache.org/viewvc/stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/src/main/resources/config/org.apache.stanbol.enhancer.engines.entityhublinking.labeltokenizer.lucene.LuceneLabelTokenizer-smartcn.config?rev=1425279&view=auto
==============================================================================
--- stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/src/main/resources/config/org.apache.stanbol.enhancer.engines.entityhublinking.labeltokenizer.lucene.LuceneLabelTokenizer-smartcn.config (added)
+++ stanbol/trunk/enhancement-engines/entitylinking/labeltokenizer-smartcn/src/main/resources/config/org.apache.stanbol.enhancer.engines.entityhublinking.labeltokenizer.lucene.LuceneLabelTokenizer-smartcn.config Sat Dec 22 12:46:16 2012
@@ -0,0 +1,4 @@
+enhancer.engines.entitylinking.labeltokenizer.languages=["zh"]
+enhancer.engine.linking.labeltokenizer.lucene.tokenizerFactory="org.apache.solr.analysis.SmartChineseSentenceTokenizerFactory"
+enhancer.engine.linking.labeltokenizer.lucene.tokenFilterFactory=["org.apache.solr.analysis.SmartChineseWordTokenFilterFactory"]
+service.ranking=I"100"
Modified: stanbol/trunk/enhancement-engines/entitylinking/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/enhancement-engines/entitylinking/pom.xml?rev=1425279&r1=1425278&r2=1425279&view=diff
==============================================================================
--- stanbol/trunk/enhancement-engines/entitylinking/pom.xml (original)
+++ stanbol/trunk/enhancement-engines/entitylinking/pom.xml Sat Dec 22 12:46:16 2012
@@ -53,6 +53,7 @@
<!-- LabelTokenizer implementations -->
<module>labeltokenizer-lucene</module>
<module>labeltokenizer-opennlp</module>
+ <module>labeltokenizer-smartcn</module>
</modules>
</project>