Lexical Tools

Example - Normalize baseline

  • The baseline used is the original Lexical Tools SD-Rules set, including 97 SD-Rules.
    shell> GetSuffixD 2013
    > 7
    > ORG_RULE
  • 10 child-rules (high-lighted in 97 SD-Rules) associated with 9 parent-rules are found and shown as follows:
    shell> GetSdRule 2013
    > 4
    > 2013

    Parent-ruleChild-rules
    $|adj|ity$|noun|2013|ORG_RULE|PARENT ic$|adj|icity$|noun|2013|ORG_RULE|CHILD
    $|noun|al$|adj|2013|ORG_RULE|PARENT ic$|noun|ical$|adj|2013|ORG_RULE|CHILD
    a$|noun|an$|adj|2013|ORG_RULE|PARENT ia$|noun|ian$|adj|2013|ORG_RULE|CHILD
    a$|noun|an$|noun|2013|ORG_RULE|PARENT ia$|noun|ian$|noun|2013|ORG_RULE|CHILD
    a$|noun|ar$|adj|2013|ORG_RULE|PARENT ula$|noun|ular$|adj|2013|ORG_RULE|CHILD
    ance$|noun|ant$|adj|2013|ORG_RULE|PARENT iance$|noun|iant$|adj|2013|ORG_RULE|CHILD
    ation$|noun|e$|verb|2013|ORG_RULE|PARENT ization$|noun|ize$|verb|2013|ORG_RULE|CHILD
    ency$|noun|ent$|adj|2013|ORG_RULE|PARENT iency$|noun|ient$|adj|2013|ORG_RULE|CHILD
    sis$|noun|tic$|adj|2013|ORG_RULE|PARENT esis$|noun|etic$|adj|2013|ORG_RULE|CHILD
    osis$|noun|otic$|adj|2013|ORG_RULE|CHILD

  • Normalize the SD-rule set by removing 10 child-rules to include 87 SD-Rules.
    Manually remove child-rules by adding "#" at the beginning of line of each child-rule. Please note that rank does not need to be updated at this point.