Adding translator for text to database for model output