Skip to content

Instantly share code, notes, and snippets.

View lucarin91's full-sized avatar

Luca Rinaldi lucarin91

View GitHub Profile
@lucarin91
lucarin91 / preprocessing.pl
Last active June 26, 2016 18:15 — forked from sn1p3r46/preprocessing.pl
TEXT PREPROCESSING WITH PERL
#!/usr/bin/perl
use File::Basename;
# STOP WORDS FOLDER
my $stp = "/home/andrea/Downloads/DataMining/code/data/";
# STOP WORDS FILE
my $stf = "stopwords.txt";
# DATA MAIN PATH
my $dp = "/home/andrea/Downloads/DataMining/code/dwld/Gutenberg/dwdl/stripped/";