Fixed bug in extract_words_dlm.py and added placeholder handling in make_index_dlm.py