resources.grammar.unknown.jape Maven / Gradle / Ivy
/*
* unknown.jape
*
* Copyright (c) 1998-2004, The University of Sheffield.
*
* This file is part of GATE (see http://gate.ac.uk/), and is free
* software, licenced under the GNU Library General Public License,
* Version 2, June 1991 (in the distribution as file licence.html,
* and also available at http://gate.ac.uk/gate/licence.html).
*
* Diana Maynard, 10 Sep 2001
*
* $Id: unknown.jape 19646 2016-10-06 12:35:17Z dgmaynard $
*/
Phase: Unknown
Input: Location Person Date Organization Address Money Percent Token JobTitle Lookup
Options: control = appelt
Rule: Known
Priority: 100
(
{Location}|
{Person}|
{Date}|
{Organization}|
{Address}|
{Money} |
{Percent}|
{Token.string == "Dear"}|
{JobTitle}|
{Lookup}
):known
-->
{}
Rule:Unknown
Priority: 50
(
{Token.upos == PROPN, Token.length != "1"}
)
:unknown
-->
:unknown.Unknown = {kind = "PN", rule = Unknown}