javatools.parsers
Class NameML.PersonNameML

java.lang.Object
  extended by javatools.parsers.NameML
      extended by javatools.parsers.NameML.PersonNameML
Enclosing class:
NameML

public static class NameML.PersonNameML
extends NameML


Nested Class Summary
 
Nested classes/interfaces inherited from class javatools.parsers.NameML
NameML.AbbreviationML, NameML.CompanyNameML, NameML.PersonNameML
 
Field Summary
 
Fields inherited from class javatools.parsers.NameML
A, ANYNAME, attributePrefix, attributePrefixPattern, B, BC, BD, companyNameSuffix, companyNameSuffixPattern, DG, directFamilyNamePrefix, familyName, familyNamePrefix, familyNamePrefixPattern, familyNameSuffix, familyNameSuffixPattern, givenName, givenNameComponent, givenNames, H, L, languageCodes, laxAbbreviationPattern, laxCompanyPattern, laxName, laxNamePattern, laxPersonNamePatternDe, laxPersonNamePatternEn, laxPersonNamePatternEs, laxPersonNamePatternFr, laxPersonNamePatternIt, nationality2country, nickName, of, or, personNameComponent, prep, roman, safeAbbreviationPattern, safeCompanyPattern, safeName, safeNamePattern, safeNamesPattern, safeNamesPatternNoPrep, safePersonNamePatternDe, safePersonNamePatternEn, safePersonNamePatternEs, safePersonNamePatternFr, safePersonNamePatternIt, teamName, teamNamePattern, titlePatternDe, titlePatternEn, titlePatternEs, titlePatternFr, titlePatternIt, U, usStates
 
Constructor Summary
NameML.PersonNameML(java.lang.String s, Language lang)
          Constructs a person name from a String
 
Method Summary
 java.lang.String attribute()
          Returns the attribute.
 java.lang.String attributePrefix()
          Returns the attributePrefix.
 java.lang.String city()
          Returns the city.
 java.lang.String describe()
          Returns a description
 java.lang.String familyName()
          Returns the familyName.
 java.lang.String familyNamePrefix()
          Returns the familyNamePrefix.
 java.lang.String familyNameSuffix()
          Returns the familyNameSuffix.
 java.lang.String givenName()
          Returns the first given name or null
 java.lang.String givenNames()
          Returns the givenNames.
 java.lang.String nickname()
          Returns the nickname.
 java.lang.String normalize()
          Normalizes a person name.
 java.lang.String roman()
          Returns the roman number.
 java.lang.String titles()
          Returns the titles.
 
Methods inherited from class javatools.parsers.NameML
c, couldBeAbbreviation, couldBeCompanyName, couldBeName, couldBePersonName, getConfigFileStream, init, init, init, isAbbreviation, isAttributePrefix, isCompanyName, isCompanyNameSuffix, isFamilyNamePrefix, isLanguage, isLanguageCode, isName, isNames, isNation, isNationality, isPersonName, isPersonNameSuffix, isStopWord, isTitle, isUSState, isUSStateAbbreviation, languageForCode, main, mul, mulHyp, nationForNationality, of, opt, optMul, or, original, readTextFileLines, readTextFileLinesSet, toString, unabbreviateUSState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameML.PersonNameML

public NameML.PersonNameML(java.lang.String s,
                           Language lang)
Constructs a person name from a String

Method Detail

givenName

public java.lang.String givenName()
Returns the first given name or null


attribute

public java.lang.String attribute()
Returns the attribute.


attributePrefix

public java.lang.String attributePrefix()
Returns the attributePrefix.


city

public java.lang.String city()
Returns the city.


nickname

public java.lang.String nickname()
Returns the nickname.


familyName

public java.lang.String familyName()
Returns the familyName.


familyNamePrefix

public java.lang.String familyNamePrefix()
Returns the familyNamePrefix.


familyNameSuffix

public java.lang.String familyNameSuffix()
Returns the familyNameSuffix.


givenNames

public java.lang.String givenNames()
Returns the givenNames.


roman

public java.lang.String roman()
Returns the roman number.


titles

public java.lang.String titles()
Returns the titles.


normalize

public java.lang.String normalize()
Normalizes a person name.

Overrides:
normalize in class NameML

describe

public java.lang.String describe()
Returns a description

Overrides:
describe in class NameML