Update text_miner.py