The SPECIALIST Lexicon

Derivations Procedures - allD

Combine all dPairs from above procedures (zeroD, prefixD, suffixD, orgD) to final derivation table.

I. Directory:

  • ${DERIVATION}/5.allD

II. Input Files (./data/${YEAR}/dataOrg/):
The following two files should exist from previous steps.

  • dTypeStr.data.${YEAR}
  • LRSPL.${YEAR}

III. Final files used for allD

  • ${TAR_DIR}/derivation.data.${YEAR}

IV. Summary of GetNomD

StepDescription and ProgramInputOutputNotes
1
  • Combine zeroD, prefixD, and suffixD
  • Double check dType
  • GenerateDerivationTable.java
  • DType.java
  • ${ZERO_TAR_DIR}:
    • zeroD.yes.data.${YEAR}

  • ${PREFIX_TAR_DIR}:
    • prefixD.yes.data.${YEAR}

  • ${SUFFIX_TAR_DIR}:
    • suffixD.yes.data.${YEAR}

  • ${ALL_SRC_DIR}:
    • LRSPL
    • dTypeStr.data
  • derivation.data.baseline

  • derivation.data.baseline.type
  • Must complete zeroD, suffixD, and prefixD
2
  • Add verified orgD to above file
  • CombineDerivationTable.java
  • ${ORG_TAR_DIR}:
    • orgD.yes.${YEAR}

  • ${ALL_TAR_DIR}:
    • derivation.data.baseline
  • derivation.data.combine
  • Make sure there is no conflict tags (Conflict no: 0)
  • If Conflict no is not 0, add them to conflict.exceptions if they are acceptable known exception.
    • Previous known conflict exceptions (./dataOrg/conflict.exception):
      These conflict exceptions are added in step-3.
      • antibrachium|noun|E0072172|brachium|noun|E0013901|N|P|anti
      • antibrachial|adj|E0203565|brachial|adj|E0013883|N|P|anti
      • dissyllable|noun|E0523982|syllable|noun|E0059482|N|P|dis
      • imbower|verb|E0580659|bower|noun|E0434097|N|P|im
      • impanel|verb|E0024983|panel|noun|E0045258|N|P|im
  • Ignore Duplicated No., they are taken care of in the program to make it unique.
3
  • Get final file and stats
  • GetDerivationStats.java
    add known conflict exceptions to final file
  • ${ORG_TAR_DIR}:
    • conflict.exception
  • ${ALL_TAR_DIR}:
    • derivation.data.combine
  • ${ALL_TAR_DIR}:
    • derivation.data.${YEAR}
  • This is the final file for derivation table
6
  • Add valid dPairs from a file to derivation.data.baseline CombineDerivationTable.java
  • derivation.data.baseline
  • valid dPair file (prompt input)
  • derivation.data.combine
  • Only used when a single valid dPair requested by users that is not produce from regular routine (not prefix, SD-rule, etc.)

Please refer to derivation design documents in Lexical Tools for details.