I found this William Whitaker dictionary on the Internet and I like its parsing capabilities . But the exit is not suitable for me.
Problem (challenge for me):
Given an input form such as "audiam", the program returns the following output (plain text):
audi.am V 4 1 PRES ACTIVE SUB 1 S audi.am V 4 1 FUT ACTIVE IND 1 S audio, audire, audivi, auditus V (4th) [XXXAO] hear, listen, accept, agree with; obey; harken, pay attention; be able to hear;
But I just want to get the following text output (same input: audiam):
audiam=audio, audire, audivi, auditus
I.e:
InputWord=Dictionary_Forms
So, I do not need some pieces of information.
How to change the output of this program by changing the Ada code?
I don't have Ada knowledge, but I know Delphi / Pascal, so it's easy to understand the code, right? So, the parts causing the text output seem to be TEXT_IO.PUT(...)
operators, right? They are all called in list_package.adb , so this is probably the source file to look at.
What needs to be changed in particular?
The full Ada 95 source code for this program is available on this page .
I hope some of you can understand the Ada 95 code. Thank you so much in advance!
My compilation issues:
For use on a Windows computer, I downloaded MinGW and tried to compile the source files using the "MinGW Shell". But this was my contribution and shell response:
Compiling with the latest version of Cygwin:
When I compile the program using the latest version of Cygwin, there is no error message:
There is even a .exe file that is created. Its size is 1.6 MB (1,682,616 bytes). But when I open it, it closes immediately. Something went wrong?