edu.washington.cs.knowitall.normalization
Class VerbalRelationNormalizer

java.lang.Object
  extended by edu.washington.cs.knowitall.normalization.VerbalRelationNormalizer
All Implemented Interfaces:
FieldNormalizer

public class VerbalRelationNormalizer
extends Object
implements FieldNormalizer

A class that can be used to normalize verbal relation strings. It performs the following normalization procedure on a ChunkedExtraction object:

Author:
afader

Constructor Summary
VerbalRelationNormalizer()
          Constructs a new instance.
 
Method Summary
 NormalizedField normalizeField(ChunkedExtraction field)
          Normalizes the given field.
 void stripBeAdj(boolean value)
          If set to true, then will not remove adjectives in phrases like "is happy about".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerbalRelationNormalizer

public VerbalRelationNormalizer()
Constructs a new instance.

Method Detail

stripBeAdj

public void stripBeAdj(boolean value)
If set to true, then will not remove adjectives in phrases like "is happy about".

Parameters:
value -

normalizeField

public NormalizedField normalizeField(ChunkedExtraction field)
Normalizes the given field.

Specified by:
normalizeField in interface FieldNormalizer
Returns:
a normalized version of the given field


Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.