ch.uzh.ifi.attempto.ape
Class ACEUtils

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

public class ACEUtils
extends java.lang.Object

This class contains ACE-related utility methods.

Author:
Tobias Kuhn

Method Summary
static boolean useIndefiniteArticleAn(java.lang.String word)
          This method can be used to determine whether an indefinite article has the form "a" or "an" if it is followed by the given word.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

useIndefiniteArticleAn

public static boolean useIndefiniteArticleAn(java.lang.String word)
This method can be used to determine whether an indefinite article has the form "a" or "an" if it is followed by the given word. Heuristics are used and the result might not be correct in 100% of the cases.

Parameters:
word - The word that immediately follows the indefinite article.
Returns:
true if "an" should be used; false for "a".


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