Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 507 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 507 Bytes

STripsLexicon

Very fast guide to getting started

import strips.ontology._
import strips.util.OntologyFromXML
  
val ont = SOntology(OntologyFromXML("/Users/mechko/nlpTools/flaming-tyrion/lexicon/data/"))

ont --> "accept"  //accept
ont ^ "accept"    //parent of accept
ont v "accept"    //children of accept

import strips.lexicon._
import strips.util.LexiconFromXML
  
val lex = new TripsLexicon(LexiconFromXML("/Users/mechko/nlpTools/flaming-tyrion/lexicon/data/"))