sorry, i did forget hebrew and arab in my list as i really am actualy busy with hebrew (the hebrew language is especially difficult as he don’t use some capitals and he sticks preposition and article, if used, as well as endings with the word build a new unique new word so that if you build some dictionary, you have to dissect the world without to know if it is a familly name / first name or the name of somewhat like object, action etc to find the root of the term… i hope that prolog can do the job if it has in the data base all possible pre and post positions elements possible, and return the root or say «probably person or geographic name or term).
SWI-Prolog has unicode support, so you can write your Prolog code in any script.
It is a general purpose programming language so you can write any software.
If you need specific libraries, you need to look for those.
If you are a linguist, you should find a computer scientist to help you out a bit at the start. If you ask the questions using unexpected words, it is likely to get unhelpful answers.