Filter out proper noun - (known to the lexicon) from the output

  • Short Description: Filter out proper nouns (known to the lexicon) from the output.

  • Full Description:

    This is an useful filter to apply before other morphological mutations are applied. The reasoning is that it is probably unwise to apply any morphological mutation to proper nouns because the mutation is likely to produce a wrong, misleading or spurious term.

    Only one output record for one input term.

    No effect on the -m option. "none" is added at the end of the output.

  • Difference: None.

  • Features:
    1. Filter out proper noun (known to lexicon).


  • Symbol: fp

  • Examples:
    
    shell> lvg -f:fp -n
    Guy
    Guy|Guy|2047|16777215|fp|1|
    
    Browne
    Browne|-No Output-
    
    Harold Newton Cole
    Harold Newton Cole|-No Output-
    
    Jurkat
    Jurkat|-No Output-
    
    More examples

  • Implementation Logic:
    1. Check if the input is a proper noun.
    2. Filter out if the input is a proper noun.

  • Source Code: ToFilterProperNoun.java

  • Hierarchy: Object -> Transformation -> ToFilterProperNoun