Adding the word basis generator.