All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.clulab.assembly.display.package.scala Maven / Gradle / Ivy

The newest version!
package org.clulab.assembly

import org.clulab.assembly.export.{Row, AssemblyExporter}
import org.clulab.odin._


package object display {
  def displayPrecedence(mentions: Seq[Mention]): Unit = {
    val am = Assembler.applySieves(mentions)
    val ae = new AssemblyExporter(am)
    val so = ae.shellOutput((rows: Set[Row]) => rows.filter(_.seen > 0))
    println(so)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy