knowitall / taggers

Easily identify and label sentence intervals using various taggers.
11 stars 12 forks source link

Comments do not parse outside of a Tagger definition #15

Open jgilme1 opened 11 years ago

jgilme1 commented 11 years ago

//comment here If := PatternTagger{

error java.lang.RuntimeException: No result when parsing failed java.lang.RuntimeException: No result when parsing failed at scala.sys.package$.error(package.scala:27) at scala.util.parsing.combinator.Parsers$NoSuccess.get(Parsers.scala:181) at scala.util.parsing.combinator.Parsers$NoSuccess.get(Parsers.scala:167) at edu.knowitall.taggers.TaggerCollection$.fromString(TaggerCollection.scala:27) at edu.knowitall.taggers.TaggerCollection.fromString(TaggerCollection.scala)

schmmd commented 11 years ago

@jgilme1 that would be a good feature. Do you want to have a look? It would involve tweaking the parser combinator to ignore such lines. Figuring it out would probably involve some poking around.

jgilme1 commented 11 years ago

Yeah, I'll check it out.

schmmd commented 11 years ago

Thanks. I should have mentioned I can too but it won't be for a bit.

On Wed, Oct 2, 2013 at 10:49 AM, John Gilmer notifications@github.comwrote:

Yeah, I'll check it out.

— Reply to this email directly or view it on GitHubhttps://github.com/knowitall/taggers/issues/15#issuecomment-25560691 .