Skip to content
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

Vietnamese extraction function #181

Merged
merged 21 commits into from
Jun 13, 2020
Merged

Vietnamese extraction function #181

merged 21 commits into from
Jun 13, 2020

Conversation

lfashby
Copy link
Collaborator

@lfashby lfashby commented Jun 10, 2020

  • Updated Unreleased in CHANGELOG.md to reflect the changes in code or data.

This PR includes an extraction function for Vietnamese, data from scraping Vietnamese with this new extraction function, and the removal of a duplicate of the Manchu entry in languages.json (I'll have to look into how that got there).

This Vietnamese extraction function is tentative and works around the problem raised in #149 by redefining and utilizing _DIALECT_XPATH_SELECTOR_TEMPLATE within the extraction function itself. Whatever solution we come up with to handle #149 will likely require reworking this extraction function, but I've submitted it as is because it makes clear some of the problems we will face in solving #149 - such as that Vietnamese dialects require a different dialect selector than is needed for other languages and that extraction functions which do not call _yield_phn need some way of being exposed to the dialect specifications.

Resolves #133

@lfashby lfashby requested a review from kylebgorman June 10, 2020 17:26
Copy link
Collaborator

@kylebgorman kylebgorman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, obviously with the caveats about future solutions.

Feel free to ping Jackson if you think a second look would help.

wikipron/extract/vie.py Outdated Show resolved Hide resolved
@kylebgorman
Copy link
Collaborator

Gentle ping: should I merge this?

@lfashby
Copy link
Collaborator Author

lfashby commented Jun 13, 2020

I'll merge it in. I reached out to Jackson separately regarding this.

@lfashby lfashby merged commit b0e774a into CUNY-CL:master Jun 13, 2020
@lfashby lfashby deleted the vie branch October 10, 2020 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[vie] Enhancements
2 participants