Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Jurafsky
  • Content: Threads
  • Order by date
  1. Jurafsky

    $array[$i] =~ s/<unknown>/unknown/g;

    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 !
  2. Jurafsky

    suggestions for a spellchecker

    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...
  3. Jurafsky

    print the first and the last element of an hash

    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...
  4. Jurafsky

    morphological and syntactic analysis on a text

    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...

Part and Inventory Search

Back
Top