Looks interesting. Does the language matter for you? Because if python
does not offer an advantage over php, I would recommend the later so
that it'd be easier to merge into wikisource.

Yes, it matter; I hardly can write something in python, I have only very vague notions of php and javascript, and I just posted my cgi "Hello world". But I encourage any of you to catch my scripts and to feel free to develop them as you like; I'm fully satisfied and bold from preliminary results, I know that I can't develop  the whole project, so please don't expect running results by me.

As I told into WMI, the Italian chapter, it's interesting that I found source, some years ago, following the stumps of reCAPTCHA, then going into Internet Archive and finally into it.source. A good example of a circular path....

Alex brollo