I created an output macro for converting singular to plural nouns:
outputmacro: ^PLURAL( ^ARG1 ) ^POS(NOUN ^ARG1 PLURAL)
The macro returns “deers” for the plural of “deer” and it should be “deer”.
In the file DICT\d.txt I added “plural=deer” to the entry below:
deer ( meanings=1 glosses=1 NOUN NOUN_SINGULAR KINDERGARTEN ) plural=deer
cervid~1nz (ruminant~1n) distinguished from Bovidae by the male’s having solid deciduous antlers
The User’s guide states that I probably will not want to edit the dictionary entries, but what if I want to? I see a dict.bin file. I have visual studio 2010. I do not see it in the solution. I rebuilt the project and restarted the chatscript.exe but the macro still returns deers. In the Users Guide it states that the LIVEDATA folder extends the dictionary and that an advanced user could add to it. How would I add additional dictionary entries? Can I override a dictionary entry in the DICT folder with an entry in the LIVEDATA folder for deer?
What is the best way to create/edit information returned by the ^POS(NOUN ^ARG1 PLURAL) function?
Thanks.