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

Parse plain-text results from WWWJDIC #16

Open
gliese1337 opened this issue Mar 11, 2016 · 1 comment
Open

Parse plain-text results from WWWJDIC #16

gliese1337 opened this issue Mar 11, 2016 · 1 comment

Comments

@gliese1337
Copy link
Member

This will require writing parsers for the (two different!) plain-text formats that are used for entries returned by the glossing dictionary vs. everything else. For Japanese-to-English, we could probably get away with just using the glossing results, but if we want to allow Japanese-to-Anything-Else, we'll have to recursively look stuff up in the single-word dictionaries as well, because glossing only works for English.

There's an intro to Scala parser-combinators at https://kerflyn.wordpress.com/2012/08/25/playing-with-scala-parser-combinator/ which might be useful.

@gliese1337
Copy link
Member Author

Basic glossing is now functional, but we still need to handle parsing the plain-text responses, just like with SeaLang.

@gliese1337 gliese1337 changed the title Update WWWJDIC to use glossing Parse plain-text results from WWWJDIC Mar 18, 2016
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

No branches or pull requests

1 participant