previous main page next

Dokumenthantering VT97:05

These are the exercises and references for the fifth class of the course Dokumenthanteringen


Exercises

The results of the exercises marked with * have to be handed in. The exercises marked with ? are optional obligatory exercises: you only have to hand in the results of one of them

  1. ? Write a toy spelling checker in Perl with a dictionary of no more than 100 words. It should be able to detect errors in a text you may choose yourself. No correct replacement needs to be generated for the miss-spelled words.

  2. ? Write a trigram program which collects data from some corpus and gives the most frequent successor of any bigram that the user might want to see.


References


Last update: March 10, 1997. erikt@stp.ling.uu.se