-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Test and refactor WikiCorpus #1821
Commits on Dec 28, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 574134e - Browse repository at this point
Copy the full SHA 574134eView commit details -
Created test data in legitimate compressed XML format (.xml.bz2) for …
…the WikiCorpus class. * Used the same raw data found for other sources (9 articles). * Added Various wiki markup to test the parsing regural expressions
Configuration menu - View commit details
-
Copy full SHA for 952e8d5 - Browse repository at this point
Copy the full SHA 952e8d5View commit details -
Added test class for the WikiCorpus source.
* Following the same inheritance schema as in the source TestWikiCorpus > TestTextCorpus > CorpusTestCase. * Testing methods are overriden where necessary to reflect logic changes. * All existing functionality is tested (account for markup handling, minimum article length etc)
Configuration menu - View commit details
-
Copy full SHA for 7ddce6c - Browse repository at this point
Copy the full SHA 7ddce6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 836c3c2 - Browse repository at this point
Copy the full SHA 836c3c2View commit details
Commits on Dec 30, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 43a48f5 - Browse repository at this point
Copy the full SHA 43a48f5View commit details -
Moved WikiCorpus tests from test/test_wikicorpus.py into its class wi…
…thin the test_corpora.py file. * Adapted all old tests to the new class * Current Test class schema ensures that WikiCorpus also passes tests defined in parents * Deleted test_wikicorpus.py since it is now redundant
Configuration menu - View commit details
-
Copy full SHA for 8b7a1d5 - Browse repository at this point
Copy the full SHA 8b7a1d5View commit details
Commits on Jan 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for eeea748 - Browse repository at this point
Copy the full SHA eeea748View commit details -
Discarded the empty input test for the WikiCorpus since an empty file…
… is not legitimate XML
Configuration menu - View commit details
-
Copy full SHA for b5976c4 - Browse repository at this point
Copy the full SHA b5976c4View commit details
Commits on Jan 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 78f2870 - Browse repository at this point
Copy the full SHA 78f2870View commit details