edu.washington.cs.knowitall.normalization
Class HeadNounNormalizer
java.lang.Object
edu.washington.cs.knowitall.normalization.HeadNounNormalizer
- All Implemented Interfaces:
- FieldNormalizer
public class HeadNounNormalizer
- extends Object
- implements FieldNormalizer
A normalizer function that heuristically finds the head noun phrase of an
argument field. It uses the following heuristic method:
- If the field contains a proper noun, don't normalize
- If the field contains a tag starting with N, return the rightmost one,
stemmed
- Otherwise, don't normalize
This is a much simpler version of Magerman's rules for finding head words in
a syntactic parse tree.
- Author:
- afader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeadNounNormalizer
public HeadNounNormalizer()
normalizeField
public NormalizedField normalizeField(ChunkedExtraction 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.