Class NameFinderCensus90NameStream

java.lang.Object
opennlp.tools.formats.NameFinderCensus90NameStream
All Implemented Interfaces:
AutoCloseable, ObjectStream<StringList>

@Internal public class NameFinderCensus90NameStream extends Object implements ObjectStream<StringList>
This class helps to read the US Census data from the files to build a StringList for each dictionary entry in the name-finder dictionary. The entries in the source file are as follows:

SMITH 1.006 1.006 1

  • The first field is the name (in ALL CAPS).
  • The next field is a frequency in percent.
  • The next is a cumulative frequency in percent.
  • The last is a ranking.

Note: Do not use this class, internal use only!