Factor out (or make optional) Hobbs from RelexExtractor

Bug #217493 reported by Borislav Iordanov
4
Affects Status Importance Assigned to Milestone
RelEx
Won't Fix
Medium
linas

Bug Description

I'd only like to suggest that a bit more "design" be put into the Relex API regarding Hobbs. Because somebody else might get caught in this too. RelexExtractor as an API seems to be pretty straightforward: configure it and then call process for each sentence. And it is bound to the rules defined in the text file. Until...oops, you realize something else is going on that eats up memory! I would put Hobbs in a separate class that decorates RelexExtractor with anaphora resolution (that'll make the anaphora algorithm pluggable). Or at least make it optional for RelexExtractor which is false by default and documentation on what happens if it's turned on :) At the very minimum, I'd put a check that monitors the number of sentences processed without calling 'clear' and throw an exception to warn the programmer.

Revision history for this message
linas (linasvepstas) wrote :

I'm planning on redoing how the anaphora resolution thing works in ..
maybe a few weeks or month. I'm working on word-sense disambig
in opencog, and will want to change how hobbs works to be a bit
more consistent with that.

Changed in relex:
assignee: nobody → linasvepstas
importance: Undecided → Medium
status: New → Confirmed
linas (linasvepstas)
Changed in relex:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.