Derivation Type
I. Introduction
There are three main types of derivations and these information are now available in Lexical Tools. The information of affix is also provided if it is a prefixD.
dType | dTypeStr | |
---|---|---|
Tag | Affix | |
prefixD | P | prefix |
suffixD | S | None |
zeroD | Z | None |
In addtion, four secondary types of derivations are used during the type assignement process. They inlucde dPairs caused by spelling variantsa. These are valid dPairs. However, they are exculded from the derivational DB table due to the extra step (SpVars) in relationship.
dType | dTypeStr | |
---|---|---|
Tag | Affix | |
prefixD by SpVars | PS | prefix |
suffixD by SpVars | SS | None |
zeroD by SpVars | ZS | None |
unknown | U | None |
II. Java APIs
${DERIVATION_DIR}/5.allD/sources/DType.java
Required files:
${DERIVATION_DIR}/5.allD/data/${YEAR}/dataOrg/LRSPL
${DERIVATION_DIR}/5.allD/data/${YEAR}/dataOrg/dTypeStr.data
III. Algorithm & Example
d1|cat1|EUI1|d2|cat2|EUI2
Must be in the same order for the following algorithm to work:
d1.equals(d2)
flex|noun||flex|verb|E0026587|Z|None
excuse|noun|E0026586|excuse|verb|E0026587|Z|None
unzip|verb|zip|verb|P|un
hand-search|noun|E0527651|handsearch|verb|E0527650|ZS|None
first-aid|adj|first aid|noun|Z|None
low-fat|adj|low fat|noun|Z|None
hand search|verb|E0527650|handsearch|noun|E0527651|ZS|None
check all spelling variants if equals
endeavor|verb|E0025158|endeavour|noun|E0025157|ZS|None
cesarian|adj|cesarean|noun|Z|None
partisan|adj|partizan|noun|Z|None
unzip|verb|zip|verb|P|un
treatment|noun|treat|noun|S|None
=> sell|verb|sale|noun|S|None