Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ object HypothesisHandler {
case event:BioEventMention =>

// Get the dependencies of the sentence
val dependencies = event.sentenceObj.dependencies.getOrElse(new DirectedGraph[String](Nil, Set[Int]()))
val dependencies = event.sentenceObj.dependencies.getOrElse(new DirectedGraph[String](Nil, None, Some(Set[Int]())))

val eventInterval:Seq[Int] = event.tokenInterval

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ class PubmedAbstractIndexer {
d.add(new StringField("published", meta.published, Field.Store.YES))
d.add(new TextField("journal", meta.name, Field.Store.YES))
d.add(new StringField("issn", meta.issn, Field.Store.YES))
d.add(new IntField("volume", meta.volume, Field.Store.YES))
d.add(new IntField("issue", meta.volume, Field.Store.YES))
d.add(new IntPoint("volume", meta.volume))
d.add(new StoredField("volume", meta.volume))
d.add(new IntPoint("issue", meta.issue))
d.add(new StoredField("issue", meta.issue))
}

writer.addDocument(d)
Expand Down
4 changes: 2 additions & 2 deletions processors/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ resolvers += ("Artifactory" at "http://artifactory.cs.arizona.edu:8081/artifacto


libraryDependencies ++= {
val procVer = "8.3.3"
val procVer = "8.5.2-SNAPSHOT"

Seq(
"com.typesafe" % "config" % "1.3.1",

"org.clulab" %% "processors-main" % procVer,
"org.clulab" %% "processors-corenlp" % procVer,
"org.clulab" %% "processors-odin" % procVer,
// "org.clulab" %% "processors-odin" % procVer,

"ai.lum" %% "common" % "0.1.4",

Expand Down