You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/09/26 15:16:28 UTC

svn commit: r1175856 - in /incubator/opennlp/sandbox/wikinews-importer/samples: LuceneIndexer.xml wikinews.xml

Author: joern
Date: Mon Sep 26 13:16:27 2011
New Revision: 1175856

URL: http://svn.apache.org/viewvc?rev=1175856&view=rev
Log:
OPENNLP-299 Fixed handling of index mapping file.

Added:
    incubator/opennlp/sandbox/wikinews-importer/samples/wikinews.xml   (with props)
Removed:
    incubator/opennlp/sandbox/wikinews-importer/samples/LuceneIndexer.xml

Added: incubator/opennlp/sandbox/wikinews-importer/samples/wikinews.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/sandbox/wikinews-importer/samples/wikinews.xml?rev=1175856&view=auto
==============================================================================
--- incubator/opennlp/sandbox/wikinews-importer/samples/wikinews.xml (added)
+++ incubator/opennlp/sandbox/wikinews-importer/samples/wikinews.xml Mon Sep 26 13:16:27 2011
@@ -0,0 +1,49 @@
+<?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.
+-->
+
+<fields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:noNamespaceSchemaLocation="../../main/resources/lucas.xsd">
+
+	<field name="headline" index="yes" stored="no">
+		<annotations>
+			<annotation type="org.apache.opennlp.annotations.Headline" tokenizer="standard"/>
+		</annotations>
+	</field>
+	
+	<field name="text" index="yes" stored="no">
+		<annotations>
+			<annotation type="uima.tcas.DocumentAnnotation" tokenizer="standard"/>
+		</annotations>
+	</field>
+	
+	<field name="person" index="yes" stored="no">
+		<annotations>
+			<annotation type="org.apache.opennlp.annotations.Person" tokenizer="standard"/>
+		</annotations>
+	</field>
+	
+	<field name="organization" index="yes" stored="no">
+		<annotations>
+			<annotation type="org.apache.opennlp.annotations.Organization" tokenizer="standard"/>
+		</annotations>
+	</field>
+	
+</fields>

Propchange: incubator/opennlp/sandbox/wikinews-importer/samples/wikinews.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain