evan_tech

Previous Entry Share Next Entry
I had been thinking of switching my language-analyzer to use trigrams: basically, tweaking slightly a data structure that's at the core of all of the code, the sort of thing that would give me nightmares when working on (for example) LiveJournal. But all I had to do was (effectively) change type ngram = (int * int) to type ngram = (int * int * int) and step through the errors. As far as I can tell, it worked perfectly the first time.


Elsewhere: reading Knuth's TeXbook. Typesetting is hott.