Sorry if my question sounds naïve but is it possible to create a programme which would detect and change word endings? I would like to write a simple verb conjugator, i.e.:
If you enter a word ending with AAA then I would like the programme to show, say, six modified words:
- Word with the replaced ending, for example QWERTYAAA changes into QWERTYBBB
- QWERTYAAA changes into QWERTYCCC
- QWERTYAAA changes into QWERTYDDD
Is it possible to do it? If so, how? Your help is very much appreciated!