Skip to content

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

Merged
merged 4 commits into from
Oct 17, 2016

Conversation

shyamupa
Copy link
Member

@shyamupa shyamupa commented Oct 15, 2016

Still some commented out codes left for future reference. No need to test the old gazeetteer either.
Solves #146.

@@ -47,6 +47,7 @@
*
* @author Vivek Srikumar
*/
@Deprecated
Copy link
Member

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.
Copy link
Member

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?

@shyamupa
Copy link
Member Author

@danyaljj ok, added more informative comments.

runTest(ta, fex);
}
}
// Not needed anymore, as test of SimpleGazetteerAnnotator in SimpleGazetteerAnnotatorTest.java suffice.
Copy link
Member

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?

Copy link
Member Author

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.

@danyaljj danyaljj merged commit a4d3774 into CogComp:master Oct 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants