IM IBM InfoSphere Global Name Recognition, Version 4.2


Namephrase

A ParsedNameUnit object that represents an individual name phrase.

Syntax

class Namephrase : ParsedNameUnit

Description

A name phrase is a sequence of one or more tokens that form a single semantic unit such as "Smith", "de la Tour", "Jean Claude", "Ching Mai", "Noor al din", or "Robinson-Phillips". Phrases usually consist of a single stem token with optional prefixes and suffixes attached. However, name phrases can have more than one stem token, especially in Chinese and Korean names.
ParsedNameUnit
Abstract class that represents all nodes in the NameParser parse tree.

Inheritance diagram

Inheritance diagram for Namephrase class.

  • getNumTokens function

    Returns the number of tokens in the name phrase.
  • getToken Function

    Returns the specified token.
  • getStemToken function

    Returns a reference to the name phrase's stem token.
  • getStemTokenType function

    Returns the token type of the name phrase's stem token.
  • getGivenNameCount function

    Returns the number of times this name phrase has appeared in the given-name field in NameParser's internal database of names.
  • getSurnameCount function

    Returns the number of times this name phrase has appeared in the surname field in NameParser's internal database of names.
Parent topic: NameParser (ibmgnr::parser::NameParser)



Feedback