Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Publish epic-parser-en-span for scala 2.12 #65

Open
unoexperto opened this issue Jul 30, 2017 · 3 comments
Open

Publish epic-parser-en-span for scala 2.12 #65

unoexperto opened this issue Jul 30, 2017 · 3 comments

Comments

@unoexperto
Copy link

Could you guys please publish epic-parser-en-span for 2.12 ?

Thanks!

@unoexperto
Copy link
Author

unoexperto commented Jul 31, 2017

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.

@unoexperto
Copy link
Author

unoexperto commented Jul 31, 2017

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 :(

@gzoller
Copy link

gzoller commented Sep 28, 2017

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants