Numerizer Class Reference

Collaboration diagram for Numerizer:

Collaboration graph
[legend]

List of all members.

Classes

class  BigPrefix
class  DirectNum
class  Prefix
class  TenPrefix

Static Public Member Functions

static String andition (String str)
static String numerize (String str)

Static Protected Attributes

static BigPrefix[] BIG_PREFIXES
static DirectNum[] DIRECT_NUMS
static TenPrefix[] TEN_PREFIXES

Static Package Functions

 [static initializer]

Static Private Attributes

static final Pattern ANDITION_PATTERN = Pattern.compile("<num>(\\d+)( | and )<num>(\\d+)(?=\\W|$)", Pattern.CASE_INSENSITIVE)
static final Pattern DEHAALFER = Pattern.compile("(\\d+)(?: | and |-)*haAlf", Pattern.CASE_INSENSITIVE)
static final Pattern DEHALFER = Pattern.compile("a half", Pattern.CASE_INSENSITIVE)
static final Pattern DEHYPHENATOR = Pattern.compile(" +|(\\D)-(\\D)")


Member Function Documentation

[static initializer] (  )  [static, package]

static String andition ( String  str  )  [static]

static String numerize ( String  str  )  [static]


Member Data Documentation

final Pattern ANDITION_PATTERN = Pattern.compile("<num>(\\d+)( | and )<num>(\\d+)(?=\\W|$)", Pattern.CASE_INSENSITIVE) [static, private]

BigPrefix [] BIG_PREFIXES [static, protected]

final Pattern DEHAALFER = Pattern.compile("(\\d+)(?: | and |-)*haAlf", Pattern.CASE_INSENSITIVE) [static, private]

final Pattern DEHALFER = Pattern.compile("a half", Pattern.CASE_INSENSITIVE) [static, private]

final Pattern DEHYPHENATOR = Pattern.compile(" +|(\\D)-(\\D)") [static, private]

DirectNum [] DIRECT_NUMS [static, protected]

TenPrefix [] TEN_PREFIXES [static, protected]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:46 2012 for Project Wonder by  doxygen 1.5.8