-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make formphrase macros importable/configurable #27
Comments
Decisions:
|
|
@RieksJ, please check the documentation. |
@Ca5e Can you have a look at the specification of form phrase macro maps, and particularly the section on how they work. If you are convinced the specifications and the operation of the tools agree, you may close this issue. If not, please comment what the (remaining) issues are. |
Some things I believe should be looked into...
I'd say form phrases aren't used to refer to a semantic unit, but instead enable a semantic unit to be referred to.
Considering we're using
macros:
- "{ss}": ["", "s", "'s", "(s)"], // "act{ss}" --> "act", "acts", "act's", "act(s)"
- "{ess}": ["", "es", "'s", "(es)"], // "regex{es}" --> "regex", "regexes", "regex's", "regex(es"
- "{yies}": ["y", "y's", "ies"], // "part{yies}" --> "party", "party's", "parties"
- "{ying}": ["y", "ying", "ies", "ied"], // "identif{ying}" --> "identify", "identifying", "identifies", "identified"
- "{es}": ["e", "es", "ed", "ing"], // "mangag{es}" --> "manage", "manages", "managed", "managing"
- "{able}": ["able", "ability"] // "cap{able}" --> "capable", "capability" should actually be (remove dashes that make the dictionary a list, change comment format) macros:
"{ss}": ["", "s", "'s", "(s)"], # "act{ss}" --> "act", "acts", "act's", "act(s)"
"{ess}": ["", "es", "'s", "(es)"], # "regex{es}" --> "regex", "regexes", "regex's", "regex(es"
"{yies}": ["y", "y's", "ies"], # "part{yies}" --> "party", "party's", "parties"
"{ying}": ["y", "ying", "ies", "ied"], # "identif{ying}" --> "identify", "identifying", "identifies", "identified"
"{es}": ["e", "es", "ed", "ing"], # "mangag{es}" --> "manage", "manages", "managed", "managing"
"{able}": ["able", "ability"] # "cap{able}" --> "capable", "capability" I have however changed the interpreting code so the format that does use the dashes is also supported in the next release. |
@Ca5e Thanks for all the comments, which I have used to improve the documentation. And, Yes, please move back so we can combine these sources. |
In order to make formphrase macros also useable when terminologies are developed in different languages, it is necessary that they can be specified outside of the source code of the tools. Also, if a curator wants to adjust the macro's, (s)he can then do so. It is also handy for testing new regex candidates.
This issue calls for:
For starters of the specifications, I think the macros should either be specified in a (new) section of the SAF (that doesn't get copied into MRGs), or we could make it a command-line option for the MRGT (so that it can also be listed in the MRGT configuration file).
The text was updated successfully, but these errors were encountered: