Closed GoogleCodeExporter closed 9 years ago
Original comment by steven.b...@gmail.com
on 17 Apr 2013 at 12:12
Did anyone have any feedback on the code in branch issue-359?
Original comment by lee.becker
on 7 May 2013 at 6:02
Sorry for not giving some feedback earlier. Here are my thoughts:
* Rather than have the getXXXOps methods, I think I'd just put the necessary
Ops methods in the constructor of the _ImplBase class. Then all subclasses of
the _ImplBase just provide a no-args constructor that passes the correct XXXOps
instances to the _ImplBase constructor.
* I don't think we should name anything SRL if we don't have to. SRL has too
many meanings. We should just call them SemanticRoleOps, etc.
* Things like DEPArc shouldn't show up anywhere in the Ops classes. The
eventual plan is to use these Ops classes across the different components, so
they shouldn't depend on anything ClearNLP-specific.
* SemanticRoleOps shouldn't assume that a predicate or an argument are exactly
one token in length. For PropBank, arguments at least are almost always longer
than that.
* DependencyOps shouldn't assume that there's a single head. Only
DependencyParser_ImplBase, etc. should assume that.
I just pushed a bunch of changes that address these issues. If the results look
good to you, feel free to merge the branch back into master. (And if you do so
before Philip makes a release (this weekend?), please update the Milestone on
this ticket to 1.4.)
Original comment by steven.b...@gmail.com
on 8 May 2013 at 11:44
Original comment by lee.becker
on 8 May 2013 at 2:42
Original issue reported on code.google.com by
lee.becker
on 3 Apr 2013 at 10:34