Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (16 sloc) 0.591 kb
#lang racket
(require
"corpus.rkt"
"incubot.rkt"
)
(define *c* (make-corpus '()))
(for ([sentence
'("I wonder if you could be bothered to get me a Grant's"
"If everybody looked the same, we'd get tired of looking at each other"
"the i to a is it that you and in of for but not with have be on emacs if"
"do what it's just like are so can or my was this use at an don't there as no how"
)])
(for ([_ (in-range 2)])
(printf "~a => ~a~%"
sentence
(time (incubot-sentence (string->lowercased-words sentence) *c*)))))
Jump to Line
Something went wrong with that request. Please try again.