test_class.declarator: inflector
test_class.modifier: private
test_class.original_string: private Inflector inflector;
test_class.type: Inflector
test_class.var_name: inflector
test_class.file: text/src/test/java/org/jboss/forge/addon/text/InflectorTest.java
test_class.identifier: InflectorTest
test_case.body: @Test
     public void shouldOrdinalize()
     {
        ordinalize(1, "1st");
        ordinalize(2, "2nd");
        ordinalize(3, "3rd");
        ordinalize(4, "4th");
        ordinalize(5, "5th");
        ordinalize(6, "6th");
        ordinalize(7, "7th");
        ordinalize(8, "8th");
        ordinalize(9, "9th");
        ordinalize(10, "10th");
        ordinalize(11, "11th");
        ordinalize(12, "12th");
        ordinalize(13, "13th");
        ordinalize(14, "14th");
        ordinalize(15, "15th");
        ordinalize(16, "16th");
        ordinalize(17, "17th");
        ordinalize(18, "18th");
        ordinalize(19, "19th");
        ordinalize(20, "20th");
        ordinalize(21, "21st");
        ordinalize(22, "22nd");
        ordinalize(23, "23rd");
        ordinalize(24, "24th");
        ordinalize(25, "25th");
        ordinalize(26, "26th");
        ordinalize(27, "27th");
        ordinalize(28, "28th");
        ordinalize(29, "29th");
        ordinalize(30, "30th");
        ordinalize(31, "31st");
        ordinalize(32, "32nd");
        ordinalize(33, "33rd");
        ordinalize(34, "34th");
        ordinalize(35, "35th");
        ordinalize(36, "36th");
        ordinalize(37, "37th");
        ordinalize(38, "38th");
        ordinalize(39, "39th");
        ordinalize(100, "100th");
        ordinalize(101, "101st");
        ordinalize(102, "102nd");
        ordinalize(103, "103rd");
        ordinalize(104, "104th");
        ordinalize(200, "200th");
        ordinalize(201, "201st");
        ordinalize(202, "202nd");
        ordinalize(203, "203rd");
        ordinalize(204, "204th");
        ordinalize(1000, "1000th");
        ordinalize(1001, "1001st");
        ordinalize(1002, "1002nd");
        ordinalize(1003, "1003rd");
        ordinalize(1004, "1004th");
        ordinalize(10000, "10000th");
        ordinalize(10001, "10001st");
        ordinalize(10002, "10002nd");
        ordinalize(10003, "10003rd");
        ordinalize(10004, "10004th");
        ordinalize(100000, "100000th");
        ordinalize(100001, "100001st");
        ordinalize(100002, "100002nd");
        ordinalize(100003, "100003rd");
        ordinalize(100004, "100004th");
     }
test_case.class_method_signature: InflectorTest.shouldOrdinalize()
test_case.full_signature: @Test public void shouldOrdinalize()
test_case.identifier: shouldOrdinalize
test_case.invocations: ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize ordinalize
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldOrdinalize()
focal_class.declarator: plurals = new LinkedList<Rule>()
focal_class.modifier: private final
focal_class.original_string: private final LinkedList<Rule> plurals = new LinkedList<Rule>();
focal_class.type: LinkedList<Rule>
focal_class.var_name: plurals
focal_class.declarator: singulars = new LinkedList<Rule>()
focal_class.modifier: private final
focal_class.original_string: private final LinkedList<Rule> singulars = new LinkedList<Rule>();
focal_class.type: LinkedList<Rule>
focal_class.var_name: singulars
focal_class.declarator: uncountables = new HashSet<String>()
focal_class.modifier: private final
focal_class.original_string: private final Set<String> uncountables = new HashSet<String>();
focal_class.type: Set<String>
focal_class.var_name: uncountables
focal_class.file: text/src/main/java/org/jboss/forge/addon/text/Inflector.java
focal_class.identifier: Inflector
focal_class.class_method_signature: Inflector.Inflector()
focal_class.full_signature: public  Inflector()
focal_class.identifier: Inflector
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  Inflector()
focal_class.class_method_signature: Inflector.Inflector(Inflector original)
focal_class.full_signature: protected  Inflector(Inflector original)
focal_class.identifier: Inflector
focal_class.modifiers: protected
focal_class.parameters: (Inflector original)
focal_class.signature:  Inflector(Inflector original)
focal_class.class_method_signature: Inflector.clone()
focal_class.full_signature: @Override public Inflector clone()
focal_class.identifier: clone
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Inflector
focal_class.signature: Inflector clone()
focal_class.class_method_signature: Inflector.pluralize(Object word)
focal_class.full_signature: public String pluralize(Object word)
focal_class.identifier: pluralize
focal_class.modifiers: public
focal_class.parameters: (Object word)
focal_class.return: String
focal_class.signature: String pluralize(Object word)
focal_class.class_method_signature: Inflector.pluralize(Object word,
              int count)
focal_class.full_signature: public String pluralize(Object word,
              int count)
focal_class.identifier: pluralize
focal_class.modifiers: public
focal_class.parameters: (Object word,
              int count)
focal_class.return: String
focal_class.signature: String pluralize(Object word,
              int count)
focal_class.class_method_signature: Inflector.singularize(Object word)
focal_class.full_signature: public String singularize(Object word)
focal_class.identifier: singularize
focal_class.modifiers: public
focal_class.parameters: (Object word)
focal_class.return: String
focal_class.signature: String singularize(Object word)
focal_class.class_method_signature: Inflector.lowerCamelCase(String lowerCaseAndUnderscoredWord,
              char... delimiterChars)
focal_class.full_signature: public String lowerCamelCase(String lowerCaseAndUnderscoredWord,
              char... delimiterChars)
focal_class.identifier: lowerCamelCase
focal_class.modifiers: public
focal_class.parameters: (String lowerCaseAndUnderscoredWord,
              char... delimiterChars)
focal_class.return: String
focal_class.signature: String lowerCamelCase(String lowerCaseAndUnderscoredWord,
              char... delimiterChars)
focal_class.class_method_signature: Inflector.upperCamelCase(String lowerCaseAndUnderscoredWord,
              char... delimiterChars)
focal_class.full_signature: public String upperCamelCase(String lowerCaseAndUnderscoredWord,
              char... delimiterChars)
focal_class.identifier: upperCamelCase
focal_class.modifiers: public
focal_class.parameters: (String lowerCaseAndUnderscoredWord,
              char... delimiterChars)
focal_class.return: String
focal_class.signature: String upperCamelCase(String lowerCaseAndUnderscoredWord,
              char... delimiterChars)
focal_class.class_method_signature: Inflector.camelCase(String lowerCaseAndUnderscoredWord,
              boolean uppercaseFirstLetter,
              char... delimiterChars)
focal_class.full_signature: public String camelCase(String lowerCaseAndUnderscoredWord,
              boolean uppercaseFirstLetter,
              char... delimiterChars)
focal_class.identifier: camelCase
focal_class.modifiers: public
focal_class.parameters: (String lowerCaseAndUnderscoredWord,
              boolean uppercaseFirstLetter,
              char... delimiterChars)
focal_class.return: String
focal_class.signature: String camelCase(String lowerCaseAndUnderscoredWord,
              boolean uppercaseFirstLetter,
              char... delimiterChars)
focal_class.class_method_signature: Inflector.underscore(String camelCaseWord,
              char... delimiterChars)
focal_class.full_signature: public String underscore(String camelCaseWord,
              char... delimiterChars)
focal_class.identifier: underscore
focal_class.modifiers: public
focal_class.parameters: (String camelCaseWord,
              char... delimiterChars)
focal_class.return: String
focal_class.signature: String underscore(String camelCaseWord,
              char... delimiterChars)
focal_class.class_method_signature: Inflector.capitalize(String words)
focal_class.full_signature: public String capitalize(String words)
focal_class.identifier: capitalize
focal_class.modifiers: public
focal_class.parameters: (String words)
focal_class.return: String
focal_class.signature: String capitalize(String words)
focal_class.class_method_signature: Inflector.humanize(String lowerCaseAndUnderscoredWords,
              String... removableTokens)
focal_class.full_signature: public String humanize(String lowerCaseAndUnderscoredWords,
              String... removableTokens)
focal_class.identifier: humanize
focal_class.modifiers: public
focal_class.parameters: (String lowerCaseAndUnderscoredWords,
              String... removableTokens)
focal_class.return: String
focal_class.signature: String humanize(String lowerCaseAndUnderscoredWords,
              String... removableTokens)
focal_class.class_method_signature: Inflector.titleCase(String words,
              String... removableTokens)
focal_class.full_signature: public String titleCase(String words,
              String... removableTokens)
focal_class.identifier: titleCase
focal_class.modifiers: public
focal_class.parameters: (String words,
              String... removableTokens)
focal_class.return: String
focal_class.signature: String titleCase(String words,
              String... removableTokens)
focal_class.class_method_signature: Inflector.ordinalize(int number)
focal_class.full_signature: public String ordinalize(int number)
focal_class.identifier: ordinalize
focal_class.modifiers: public
focal_class.parameters: (int number)
focal_class.return: String
focal_class.signature: String ordinalize(int number)
focal_class.class_method_signature: Inflector.isUncountable(String word)
focal_class.full_signature: public boolean isUncountable(String word)
focal_class.identifier: isUncountable
focal_class.modifiers: public
focal_class.parameters: (String word)
focal_class.return: boolean
focal_class.signature: boolean isUncountable(String word)
focal_class.class_method_signature: Inflector.getUncountables()
focal_class.full_signature: public Set<String> getUncountables()
focal_class.identifier: getUncountables
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getUncountables()
focal_class.class_method_signature: Inflector.addPluralize(String rule,
              String replacement)
focal_class.full_signature: public void addPluralize(String rule,
              String replacement)
focal_class.identifier: addPluralize
focal_class.modifiers: public
focal_class.parameters: (String rule,
              String replacement)
focal_class.return: void
focal_class.signature: void addPluralize(String rule,
              String replacement)
focal_class.class_method_signature: Inflector.addSingularize(String rule,
              String replacement)
focal_class.full_signature: public void addSingularize(String rule,
              String replacement)
focal_class.identifier: addSingularize
focal_class.modifiers: public
focal_class.parameters: (String rule,
              String replacement)
focal_class.return: void
focal_class.signature: void addSingularize(String rule,
              String replacement)
focal_class.class_method_signature: Inflector.addIrregular(String singular,
              String plural)
focal_class.full_signature: public void addIrregular(String singular,
              String plural)
focal_class.identifier: addIrregular
focal_class.modifiers: public
focal_class.parameters: (String singular,
              String plural)
focal_class.return: void
focal_class.signature: void addIrregular(String singular,
              String plural)
focal_class.class_method_signature: Inflector.addUncountable(String... words)
focal_class.full_signature: public void addUncountable(String... words)
focal_class.identifier: addUncountable
focal_class.modifiers: public
focal_class.parameters: (String... words)
focal_class.return: void
focal_class.signature: void addUncountable(String... words)
focal_class.class_method_signature: Inflector.replaceAllWithUppercase(String input,
              String regex,
              int groupNumberToUppercase)
focal_class.full_signature:  String replaceAllWithUppercase(String input,
              String regex,
              int groupNumberToUppercase)
focal_class.identifier: replaceAllWithUppercase
focal_class.parameters: (String input,
              String regex,
              int groupNumberToUppercase)
focal_class.return: String
focal_class.signature: String replaceAllWithUppercase(String input,
              String regex,
              int groupNumberToUppercase)
focal_class.class_method_signature: Inflector.clear()
focal_class.full_signature: public void clear()
focal_class.identifier: clear
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: Inflector.initialize()
focal_class.full_signature: protected void initialize()
focal_class.identifier: initialize
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initialize()
focal_method.body: public String ordinalize(int number)
     {
        int remainder = number % 100;
        String numberStr = Integer.toString(number);
        if (11 <= number && number <= 13)
           return numberStr + "th";
        remainder = number % 10;
        if (remainder == 1)
           return numberStr + "st";
        if (remainder == 2)
           return numberStr + "nd";
        if (remainder == 3)
           return numberStr + "rd";
        return numberStr + "th";
     }
focal_method.class_method_signature: Inflector.ordinalize(int number)
focal_method.full_signature: public String ordinalize(int number)
focal_method.identifier: ordinalize
focal_method.invocations: toString
focal_method.modifiers: public
focal_method.parameters: (int number)
focal_method.return: String
focal_method.signature: String ordinalize(int number)