Skip to content

Commit

Permalink
only include the first correct spelling from wikipedia - primo doesnt…
Browse files Browse the repository at this point in the history
… support or ,
  • Loading branch information
justinkelly committed Feb 20, 2012
1 parent ba91f2f commit 1171b4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion merge_primo_misspell.pl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ ($)
#Clean up the data from the wiki.txt - change -> to spaces and , to or and append to new file
$line = trim($line);
$line =~ s/\-\>/ /;
$line =~ s/\,/ or/;
#nto include anyting after a comma
@line_clean = split $line /\,/;
$line = $line_clean[0];

#check if wiki misspelling in oring primo file - if it is skip
@wiki_misspell = split / / ,$line;
Expand Down

0 comments on commit 1171b4e

Please sign in to comment.