Class CensusDictionaryCreatorTool
This tool helps create a loadable dictionary for the NameFinder,
from data collected from US Census data.
Data for the US Census and names can be found here for the 1990 Census:
www.census.gov
public class CensusDictionaryCreatorTool : BasicCmdLineTool
- Inheritance
-
CensusDictionaryCreatorTool
- Inherited Members
Properties
ShortDescription
A short description of what the tool does, shown in the usage listing.
public override string ShortDescription { get; }
Property Value
Methods
CreateCommand(string)
Builds the command that parses this tool's arguments and runs it.
public override Command CreateCommand(string commandName)
Parameters
commandNamestringthe name the user typed, which for a typed tool includes the
.formatsuffix and so is not always Name
Returns
CreateDictionary(IObjectStream<StringList?>)
Creates a dictionary.
public static Dictionary CreateDictionary(IObjectStream<StringList?> sampleStream)
Parameters
sampleStreamIObjectStream<StringList>stream of samples.
Returns
- Dictionary
a Dictionary class containing the name dictionary built from the input file.
Exceptions
- IOException
IOException
GetHelp()
A description of how to use the tool.
public override string GetHelp()
Returns
Run(string[])
Executes the tool with the given positional arguments.
public override void Run(string[] args)
Parameters
argsstring[]