ch.uzh.ifi.attempto.ape
Class FunctionWords

java.lang.Object
  extended by ch.uzh.ifi.attempto.ape.FunctionWords

public class FunctionWords
extends java.lang.Object

This class contains the function words of ACE. These words have a predefined meaning and cannot be redefined in the lexicon.

Author:
Tobias Kuhn

Method Summary
static java.util.Set<java.lang.String> getFunctionWords()
          Returns a set that contains all function words.
static boolean isFunctionWord(java.lang.String s)
          Checks whether a certain string represents a function word.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isFunctionWord

public static boolean isFunctionWord(java.lang.String s)
Checks whether a certain string represents a function word.

Parameters:
s - The string to be checked.
Returns:
true if the string represents a function word.

getFunctionWords

public static java.util.Set<java.lang.String> getFunctionWords()
Returns a set that contains all function words.

Returns:
A list containing all function words.


Copyright 2008, Attempto Group, University of Zurich (see http://attempto.ifi.uzh.ch)