language text translator and query generator