Lexical Tools

Update/Check New SD-Rule Set

I. Description

The SD_Rule Set from the previous section are checked again (after adding new rules) as a complete SD-Rule set. Also, make sure to standardize the SD-rule set (use GetSdRule option 3).

II. Procedures

  • Directory: ${SUFFIXD_DIR}
  • Find the relationship of each new SD-Rule
    => Go through all 16 new SD-Rules
    • shell>cd ${SUFFIXD_DIR}/bin
    • shell>GetSdRule ${YEAR}
      4
      year
      ${YEAR}

    From the output message to:

  • make sure the total number of SD-Rules are correct from all categories (status|source|relatio)
  • make sure the total number of parent SD-Rules are right
  • make sure the total number of child SD-Rules are right
  • make sure no duplicated SD-Rules

III. Results

  • Check ${SUFFIXD_DIR}/data/${YEAR}/dataR/SdRulesCheck/${YEAR}/*.rpt and go through details for checking the number of child rules.
  • From file of sdRules.data.2024.relation.children.only.rpt:
    => Reorganize by seperating the source rule are parent from child.
    => The total number of source rule are parent should be the same as first column.

    No.Parents SD-Rules (21)1G-Child SD-Rules (7)2G Child (12)3G Child (2)4th Generation5th Generation Child (1)
    1$|adj|ally$|adv|2015|ORG_FACT|PARENTic$|adj|ically$|adv|2013|ORG_FACT|CHILD
    2$|adj|ity$|noun|2013|ORG_RULE|PARENTic$|adj|icity$|noun|2013|ORG_RULE|CHILD
    3$|noun|al$|adj|2013|ORG_RULE|PARENTic$|noun|ical$|adj|2013|ORG_RULE|CHILD
    4$|noun|y$|noun|2017|ORG_FACT|PARENTgraph$|noun|graphy$|noun|2013|ORG_RULE|CHILD
    5$|verb|ion$|noun|2013|NOM_D|PARENTss$|verb|ssion$|noun|2013|ORG_RULE|CHILD
    6a$|noun|an$|adj|2013|ORG_RULE|PARENTia$|noun|ian$|adj|2013|ORG_RULE|CHILD
    7a$|noun|an$|noun|2013|ORG_RULE|PARENTia$|noun|ian$|noun|2013|ORG_RULE|CHILD
    8a$|noun|ar$|adj|2013|ORG_RULE|PARENTula$|noun|ular$|adj|2013|ORG_RULE|CHILD
    9ance$|noun|ant$|adj|2013|ORG_RULE|CHILDiance$|noun|iant$|adj|2013|ORG_RULE|CHILD
    10ation$|noun|e$|verb|2013|ORG_RULE|PARENTization$|noun|ize$|verb|2013|ORG_RULE|CHILD
    11c$|adj|s$|noun|2015|ORG_FACT|PARENTic$|adj|is$|noun|2013|ORG_FACT|CHILD
    12c$|adj|sm$|noun|2021|NOM_D|PARENTic$|adj|is$|noun|2013|ORG_RULE|CHILD
    13ce$|noun|t$|adj|2015|NOM_D|PARENT nce$|noun|nt$|adj|2015|DECOMPOSE|CHILD ance$|noun|ant$|adj|2013|ORG_RULE|CHILD iance$|noun|iant$|adj|2013|ORG_RULE|CHILD
    ence$|noun|ent$|adj|2013|ORG_RULE|CHILD
    14cy$|noun|t$|adj|2015|NOM_D|PARENTency$|noun|ent$|adj|2013|ORG_RULE|CHILDiency$|noun|ient$|adj|2013|ORG_RULE|CHILD
    15e$|verb|ion$|noun|2015|NOM_D|PARENTate$|verb|ation$|noun|2013|ORG_RULE|CHILD
    se$|verb|sion$|noun|2013|ORG_RULE|CHILD
    16e$|verb|is$|noun|2016|NOM_D|PARENTose$|verb|osis$|noun|2013|ORG_RULE|CHILD
    17ency$|noun|ent$|adj|2013|ORG_RULE|CHILDiency$|noun|ient$|adj|2013|ORG_RULE|CHILD
    18ility$|noun|le$|adj|2015|NOM_D|PARENTability$|noun|able$|adj|2013|ORG_RULE|CHILD
    19nce$|noun|nt$|adj|2015|DECOMPOSE|CHILDance$|noun|ant$|adj|2013|ORG_RULE|CHILDiance$|noun|iant$|adj|2013|ORG_RULE|CHILD
    ence$|noun|ent$|adj|2013|ORG_RULE|CHILD
    20sis$|noun|tic$|adj|2013|ORG_RULE|PARENTesis$|noun|etic$|adj|2013|ORG_RULE|CHILD
    osis$|noun|otic$|adj|2013|ORG_RULE|CHILD
    21sity$|noun|us$|adj|2017|NOM_D|PARENTosity$|noun|ous$|adj|2013|ORG_RULE|CHILD

    Please note that if a SD-Rule is a parent and child SD-Rule at the same time, it is marked as child SD-Rule.

  • Use this new updated SD-Rules 2024 to generate suffixD pairs and tag (yes|no) by linguists by following suffixD generation processes and used as baseline for further processes of SD-Rule set optimization.


    shell> cd ${SUFFIX_D}/bin
    shell> GetSuffixD ${YEAR}
    12

    Outputs: ${SUFFIX_D}/data/${YEAR}/data/Html

    Update web pages:
    shell> cd ${WEB_LEXICON}/${YEAR}/docs/designDoc/UDF/derivations
    shell> rm -rf SD-Examples SD-Exceptions suffixDRules.html
    shell> cp -rp ${SUFFIX_D}/data/${YEAR}/data/Html/* .

    => Similarly, update prefix (if it is not done in prefixD):
    shell> cd ${PREFIX_D}/bin
    shell> GetPrefixD ${YEAR}
    13

    Update web pages:
    shell> cd ${WEB_LEXICON}/${YEAR}/docs/designDoc/UDF/derivations
    shell> rm -rf PD-Examples PD-Exceptions prefixList.html
    shell> cp -rp ${PREFIX_D}/data/${YEAR}/data/Html/* .