Closed dav009 closed 10 years ago
I mentioned to you in passing that it would be nice to have a too similar to knife. Like the first argument of the editor would an entity (surface form, candidate, or resource) and the next argument would be an action (make-spotable, associate, change context), but i think this would take a while to fix, so maybe in another life we could do this.
It doesn't sound so complicated. I will take a look for a lib similar to python's optpars
Cool, but it's still a minor point, so up to you whether you fancy doing that.
@tgalery you can rereview!
@tgalery ready for re-re-re-re-re-re-re....-re review
Looks good :+1: :sake: . The only tiny thing, should we have a license.txt file linked from within the readme. Also, a few suggestions for actions change.
make-spottable
=> make-spotable
(I think spotable is with only one 't' but i m not sure)
make-no-spottable
=> make-unspotable
only-context
=> context-only
Is that ok ?
sure.
spottable
seems to be alright
There is a link in readme.md to the standard apache 2.0
license, which is what I usually saw in the readme's of the big companies.
Looks like it's ready to be merged.
YAY!!!!
So this is a big code clean up of the model editor:
return
statements) I think we can remove them as we go on refactoring other bits----UPDATE----
The other relevant changes are:
for loops
withforeach
loopsscopt
library to create command-line parsersurfaceform
, with the following actions:make-spottable
make-no-spottable
candidates
stats
copy-candidates
topic
, with the following actions:search
check-context
clean-set-context
association
with the follownig actions:remove
file-update
with the following actions:all
only-context
--- Update 2 ---
target/bin/model-editor
. So now running hte model editor is just:target/bin/model-editor surfaceform make-spottable pathToModel/model Barack
I would like to remove the
Updating a model From File (Two Steps)
part in the docs. Since anyway this is meant to run in a big machine, any arguments against it?