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/05/17 11:12:30 UTC
svn commit: r1104074 - in /incubator/opennlp/trunk/opennlp-tools/lang: ./
en/ en/tokenizer/ en/tokenizer/english-detokenizer.xml
Author: joern
Date: Tue May 17 09:12:30 2011
New Revision: 1104074
URL: http://svn.apache.org/viewvc?rev=1104074&view=rev
Log:
OPENNLP-152 Added english detokenizer dictionary
Added:
incubator/opennlp/trunk/opennlp-tools/lang/
incubator/opennlp/trunk/opennlp-tools/lang/en/
incubator/opennlp/trunk/opennlp-tools/lang/en/tokenizer/
incubator/opennlp/trunk/opennlp-tools/lang/en/tokenizer/english-detokenizer.xml (with props)
Added: incubator/opennlp/trunk/opennlp-tools/lang/en/tokenizer/english-detokenizer.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/lang/en/tokenizer/english-detokenizer.xml?rev=1104074&view=auto
==============================================================================
--- incubator/opennlp/trunk/opennlp-tools/lang/en/tokenizer/english-detokenizer.xml (added)
+++ incubator/opennlp/trunk/opennlp-tools/lang/en/tokenizer/english-detokenizer.xml Tue May 17 09:12:30 2011
@@ -0,0 +1,107 @@
+<?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.
+-->
+
+<dictionary>
+ <entry operation="RIGHT_LEFT_MATCHING">
+ <token>"</token>
+ </entry>
+ <entry operation="RIGHT_LEFT_MATCHING">
+ <token>'</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>.</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>?</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>!</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>,</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>;</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>:</token>
+ </entry>
+ <entry operation="MOVE_RIGHT">
+ <token>(</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>)</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>}</token>
+ </entry>
+ <entry operation="MOVE_RIGHT">
+ <token>{</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>]</token>
+ </entry>
+ <entry operation="MOVE_RIGHT">
+ <token>[</token>
+ </entry>
+ <entry operation="MOVE_RIGHT">
+ <token>``</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>''</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>%</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>n't</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>'ve</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>'d</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>'ll</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>'s</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>'re</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>'m</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>.org</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>.com</token>
+ </entry>
+ <entry operation="MOVE_LEFT">
+ <token>.net</token>
+ </entry>
+ <entry operation="MOVE_RIGHT">
+ <token>#</token>
+ </entry>
+</dictionary>
Propchange: incubator/opennlp/trunk/opennlp-tools/lang/en/tokenizer/english-detokenizer.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain