/Users/andrea/_magisterarbeit/korpus/clean/testkorpus/32/file1.html NN ----------------------------------------- : First NP , , though RB . SENT the DT script NN I PP used VVD to TO process VV the DT word NN list NN flat JJ text NN , , one CD word NN per IN CR NN terminated VVD line NN . SENT . SENT bin NN bash NN export NN TCL NP LIBRARY NN HOME NP tcl NN lib NN tcl NN . SENT exec NP usr NP local JJ bin NN tclsh NN 0 CD array NN set VVN Env NP list NN wl NN wordlist NN . SENT txt NN if IN catch NN open JJ Env NP wl NN wlCHAN NN puts VVZ stderr JJR couldn't NN open JJ Env NP wl NN wlCHAN NN . SENT exit NN 1 CD proc NN sortword NN word NN regsub NN all PDT a DT z NN string NN tolower NN word NN word NN return NN join VV lsort NN split NN word NN while NN gets VVZ wlCHAN NN word NN 1 CD lappend NN sorted VVN sortword NN word NN word NN foreach NN six CD ana NN array NN get VV sorted VVN if IN llength NN ana NN