123456789101112131415161718192021222324252627282930313233 |
- from engine.data_interface_sqlite3.query_handlers import simpleQueryHandler
- import sqlite3
- def doSimpleQuery(data, tipo, espansa, raddoppiata, formeLemmi, path):
- results = ""
- e = int(espansa)
- r = int(raddoppiata)
- if (formeLemmi == "0"):
- if (tipo == "forma"):
-
- results = simpleQueryHandler(data, path)
-
- elif (tipo == "lemma"):
-
- results = simpleQueryHandler(data, path)
- elif (formeLemmi == "1"):
- if (tipo == "forma"):
-
- results = simpleQueryHandler(data, path)
- elif (tipo == "lemma"):
-
- results = simpleQueryHandler(data, path)
- else:
-
-
- results = data + tipo + espansa + raddoppiata + formeLemmi
- return results
|