Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.nazt.lexto.*
- class BootStrap {
- def init = { servletContext ->
- servletContext.lextoObj=new LongLexTo("SELFED DICT")
- new File('lexitron.txt').eachLine { servletContext.lextoObj.addDict(it.toString().trim()) }
- }
- def destroy = {
- }
- }
Add Comment
Please, Sign In to add comment