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

Add support for Kannada language (https://kn.wikipedia.org) #9

Merged
merged 3 commits into from
Jun 14, 2018

Conversation

shivahr
Copy link
Contributor

@shivahr shivahr commented Jun 14, 2018

Thanks @lintool for this awesome code. Found exactly what I was looking for.

@@ -131,7 +131,13 @@ public String getWikiMarkup(String s) {
return "";
}

return s.substring(textStart + 27, textEnd);
String s2 = s.substring(textStart + 27, textEnd);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The XML files exported from https://en.wikipedia.org/wiki/Special:Export have an additional attribute bytes in text element. Need to ignore this as well while reading wiki-markup.

@@ -4,3 +4,4 @@
.project
target/
*~
.DS_Store
Copy link
Contributor Author

Choose a reason for hiding this comment

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

.DS_Store file on Mac needs to be ignored.

@lintool lintool merged commit d80a9b2 into lintool:master Jun 14, 2018
@lintool
Copy link
Owner

lintool commented Jun 14, 2018

@shivahr Thanks for the contribution. Do you want me to cut another release and push to Maven central?

@shivahr
Copy link
Contributor Author

shivahr commented Jun 15, 2018

Thanks for merging. And yes, pushing a new version to Maven central would certainly help.

@lintool
Copy link
Owner

lintool commented Jun 17, 2018

@shivahr
Copy link
Contributor Author

shivahr commented Jun 19, 2018

OK cool. Thank you!

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.

2 participants