-
-
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
Make Wikipedia corpus metadata accessible #3007
Open
kumarneelabh13
wants to merge
9
commits into
piskvorky:develop
Choose a base branch
from
kumarneelabh13:develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Nov 26, 2020
-
Let the users have metadata (e.g. title) if they need it. Added an argument in WikiCorpus __init__() to specify if metadata is needed. Previously, it was set to False and could not be toggled.
Configuration menu - View commit details
-
Copy full SHA for a48ec39 - Browse repository at this point
Copy the full SHA a48ec39View commit details -
Make Wikipedia corpus metadata accessible.
Configuration menu - View commit details
-
Copy full SHA for a133ea7 - Browse repository at this point
Copy the full SHA a133ea7View commit details -
Allow users to access metadata by allowing self.metadata in WikiCorpus to be set by a parameter. However, Dictionary() raises "TypeError: decoding to str: need a bytes-like object, list found" if metadata is returned. So, introduced a dictionary_mode parameter in get_texts() so that metadata bypasses the dictionary, and goes directly to the user.
Configuration menu - View commit details
-
Copy full SHA for 52b8ffc - Browse repository at this point
Copy the full SHA 52b8ffcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2a35c3 - Browse repository at this point
Copy the full SHA c2a35c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aaefb6 - Browse repository at this point
Copy the full SHA 1aaefb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79ee20e - Browse repository at this point
Copy the full SHA 79ee20eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 151ce19 - Browse repository at this point
Copy the full SHA 151ce19View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce6ebfa - Browse repository at this point
Copy the full SHA ce6ebfaView commit details
Commits on Jun 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 92d64e8 - Browse repository at this point
Copy the full SHA 92d64e8View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.