Publish epic-parser-en-span for scala 2.12
unoexperto opened this issue · comments
Could you guys please publish epic-parser-en-span
for 2.12 ?
Thanks!
Or perhaps you guys @dlwh @gregdurrett can tell me how to recompile epic-parser-en-span
? I couldn't find sources for EnglishSpanParser
that I see in existing jar.
Ah.. Looks like having class is not enough
package epic.parser.models.en.span
import epic.models.{ClassPathModelLoader, DelegatingLoader, EnglishModel, ParserModelLoader}
import epic.parser.Parser
import epic.trees.AnnotatedLabel
class EnglishSpanParser {
def capabilities: Array[String] = EnglishSpanParser.capabilities()
def language: String = EnglishSpanParser.language
def load: Any = EnglishSpanParser.load
final class Loader() extends DelegatingLoader[Parser[AnnotatedLabel, String]](EnglishSpanParser) with ParserModelLoader
}
object EnglishSpanParser extends ClassPathModelLoader[Parser[AnnotatedLabel, String]] with ParserModelLoader with EnglishModel
I need new model.ser
:(
I second this one! I'm soexcited by the potential of this library, and eager to put it thru its paces, but am running into the same issue on 2.12 not having epic-parser-en-span or epic-ner-en-conll for Scala 2.12.
Can you publish these, or provide some instructions how to cross-compile them?
Thanks!