fixed inconsistent word count issue (Github issue #7)
Merge pull request #10 from torspark/inconsistent_word_array

fixed inconsistent word count issue (Github issue #7)