Can someone explain me what this means? I know how to make a substitution but is this a particular case? In the text there's no the word "unknown" and it seems strange to have "<unknown>".
Thank you !
LoL
Without code it's impossible to handle it I know. This is my code.
use diagnostics;
use warnings;
my ($file_dictionary, $word, $line, $line1, $alph, $elt, $w, $transposition, $letter1, $letter2);
my (@word, @altered_word, @filedictionary, @filetext, @dictionary, @addition, @replacement...
I've created a little spellchecker.
This script works in this way:
After reading each line of the text, realizes some corrections
thanks to a comparison between a dictionary and the text itself.
When it finds a word that doesn't exist in the dictionary, it corrects the words
(giving one or...
Hello all! I've a csv file like :
City sunshine Temperature
Ajaccio 2790 14.7
Lyon 2072 11.4
Marseille 2763 14.2
Brest 1729 10.8
Lille 1574 9.7
Paris 1833 11.2
Strasbourg 1685 9.7
I'd like to print just the city+temperature with the highest and the lowest temperature. How?
#!/usr/bin/perl...
Hi all,
I'm a newbie.
I'm tryin to do an exercice but there's something that isn't working yet.
I've a text and I would like to do the analysis of it. The text is in french language.
"viens demain de bon matin"
I would like to analyse the text creating some arrays with the endings. In some...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.