This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// save to project/Build.scala | |
import sbt.{Build, Project, ProjectRef, uri} | |
object MyBuild extends Build { | |
lazy val root = Project("root", sbt.file(".")).dependsOn(procAgiga) | |
lazy val procAgiga = ProjectRef(uri("git://github.com/myedibleenso/processors-agiga.git#master"), "processors-agiga") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// requires processors library: https://github.com/clulab/processors/blob/master/README.md | |
import edu.arizona.sista.odin._ | |
import edu.arizona.sista.processors.fastnlp.FastNLPProcessor | |
val proc = new FastNLPProcessor | |
// a couple of simple examples to test the rules against. | |
val text = "a tiger is a kind of big cat. an eye is a part of a tiger." | |
val doc = proc annotate text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
taxonomy: | |
- Entity: | |
- Noun | |
- Adjective | |
- NounPhrase | |
- Patterns: | |
- KindOfPattern | |
- PartOfPattern | |
- Event: | |
- KindOf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE IF NOT EXISTS `country` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`iso` char(2) NOT NULL, | |
`name` varchar(80) NOT NULL, | |
`nicename` varchar(80) NOT NULL, | |
`iso3` char(3) DEFAULT NULL, | |
`numcode` smallint(6) DEFAULT NULL, | |
`phonecode` int(5) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
NewerOlder