[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[seul-edu] Crosswords basic generator released



Well, apparently I had released GPL it two years ago, but I forgot it ,
try to search "genaut.py" in google.... and you'll see my old account in ctv.
Well, in 
crosswords.50g.com/genaut.py
or directrly from the web page.
It's in Spanish, it's slow, it's dumb.... it works, it has lots of parameters 
and can be greatly derived to a wide range of possibilities...

To run it: python genaut.py
you may need random.py, which may not be in the python2.2 distro, use google 
for that.

It produces things like that:

<lots of lines like:>
.....
3 pesar {'lloro': 1, 'embeleco': 1, 'pesar': 1, 'confusion': 1, 'gateria': 1, 
'disciplina': 1, 'orden': 1}
2 aereo {'lloro': 1, 'embeleco': 1, 'pesar': 1, 'confusion': 1, 'gateria': 1, 
'aereo': 1, 'disciplina': 1, 'orden': 1}
1 risa {'lloro': 1, 'embeleco': 1, 'confusion': 1, 'pesar': 1, 'disciplina': 
1, 'aereo': 1, 'gateria': 1, 'risa': 1, 'orden': 1}
0 solfa {'lloro': 1, 'embeleco': 1, 'gateria': 1, 'confusion': 1, 'pesar': 1, 
'aereo': 1, 'disciplina': 1, 'risa': 1, 'orden': 1, 'solfa': 1}

- - - - - - - - - - - - - - -
- - - - - - - - - - - - - g -
- - - - d i s c i p l i n a -
- - - - - - - - - - l - - t -
- - - c o n f u s i o n - e -
- - - - r - - - - - r - - r -
- - - - d - p - - - o - - i -
- e m b e l e c o - - - - a -
- - - - n - s - - - - - - - -
- - - - - - a e r e o - - - -
- - - - - - r - i - - - - - -
- - - - - - - - s o l f a - -
- - - - - - - - a - i - - - -
- - - - - - - - - - o - - - -
- - - - - - - - - - - - - - -
(2, 14) DOWN gateria
(3, 5) ACROSS disciplina
(3, 11) DOWN lloro
(5, 4) ACROSS confusion
(5, 5) DOWN orden
(8, 2) ACROSS embeleco
(7, 7) DOWN pesar
(10, 7) ACROSS aereo
(10, 9) DOWN risa
(12, 9) ACROSS solfa
(12, 11) DOWN lio
10

This can be parsed to any stuff, in fact, I parse myself,... but that's 
another script, let's see, if this re-release of the script gathers attention 
or not. 


---
MGA