-
Notifications
You must be signed in to change notification settings - Fork 146
Deprecated old gazetter View Generator. Also incremented minor version number. #244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -47,6 +47,7 @@ | |||
* | |||
* @author Vivek Srikumar | |||
*/ | |||
@Deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a comment that "instead of this you should use SimpleGazetteerAnnotator
"?
runTest(ta, fex); | ||
} | ||
} | ||
// Not needed anymore, test of SimpleGazetteerAnnotator suffice. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarification: why these are not needed anymore?
@danyaljj ok, added more informative comments. |
runTest(ta, fex); | ||
} | ||
} | ||
// Not needed anymore, as test of SimpleGazetteerAnnotator in SimpleGazetteerAnnotatorTest.java suffice. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think they are testing slightly different things. The test for SimpleGazetteerAnnotatorTest
is testing its functionality directly. While this is testing correct functionality of SimpleGazetteerAnnotatorTest
inside WordFeatureExtractorFactory
.
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont know why Vivek did not separate the test class, but it is reasonable. After all, gazetteers are used for features right? The tests are checking the same feature, just the organization of the test code is different.
Still some commented out codes left for future reference. No need to test the old gazeetteer either.
Solves #146.