Plaster

common-lisp
; SLIME 2.22 CL-USER> (ql:quickload "snippets/text-segmentation") To load "snippets/text-segmentation": Load 1 ASDF system: snippets/text-segmentation ; Loading "snippets/text-segmentation" [package snippets/text-segmentation] ("snippets/text-segmentation") CL-USER> (snippets/text-segmentation:load-corpus "/usr/share/dict/words") NIL CL-USER> (snippets/text-segmentation:segment "makeamericagreatagain") ("make" "america" "great" "again") CL-USER> (snippets/text-segmentation:segment "theeverlastinglife") ("the" "everlasting" "life") CL-USER> (snippets/text-segmentation:segment "expertsexchange") ("experts" "exchange") CL-USER> (snippets/text-segmentation:segment "thesunwillshineagain") ("the" "s" "unwill" "shine" "again") CL-USER> (snippets/text-segmentation:segment "drunkinlosangeles") ("drunk" "in" "los" "angeles") CL-USER>