Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 552 Bytes

File metadata and controls

16 lines (10 loc) · 552 Bytes

Text Mining

Python script for combining all text, txt file under same directory into one (line by line) with No duplicates. Actually for combining text dictionary for text mining.

How to Use

python dicMerge.py "Full Path of your directory" "output_file_name.txt"

e.g. python dicMerge.py /home/users result.txt

  • "Full Path of your directory" = /home/Users/combining_folder_name/

    then all *.txt file should under this combining_folder_name.

  • "output_file_name.txt" = result.txt

  • output file will generate in the same path you specified;