Guest User

Untitled

a guest
May 24th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. import org.nazt.lexto.*
  2. class BootStrap {
  3.  
  4. def init = { servletContext ->
  5. servletContext.lextoObj=new LongLexTo("SELFED DICT")
  6. new File('lexitron.txt').eachLine { servletContext.lextoObj.addDict(it.toString().trim()) }
  7. }
  8. def destroy = {
  9. }
  10. }
Add Comment
Please, Sign In to add comment