fixed tf bug
added more delimiters in document parsing.