[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/prog/ - Programming

Programming board

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
A message from @CodeMonkeyZ, 2ch lead developer: "How Hiroyuki Nishimura will sell 4chan data"
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


File: 1421933042021.jpg (51.03 KB, 576x576, 1:1, 1421741899617.jpg)

12cd69 No.1104

Hi. I've never coded anything in my life, really, but I have a practical problem and I'm trying to create a practical solution for it.

I want to take a bunch of highlighted text, search each word in:

http://m.jisho.org/words?jap=[VARIABLE]&eng=&dict=edict

and then return the top result. ( body > p:nth-child(6) )

I had the idea to use LibreOffice to parse each word into its own cell, but trying to figure out how to do the next part is really stumping me. The only functions I've found are XMLFILTER and WEBSERVICE and neither of those seem to work since Jisho doesn't seem to use XML or a URI.

I'm learning Nipponese via romaji because I'm fed up with all the anti-romaji autism out there and don't give a shit about learning to read runes, but that means I have to provide 100% of my own content for learning, and staying stocked with new words to learn is much harder than actually learning them. This is supposed to be the answer to creating all the words I'll ever need.

Ideally I'd also like to take my spreadsheet data and turn them into anki cards, but one thing at a time.

Just what am I supposed to do here? Don't tell me I have to open up a development environment and code an entirely new feature to do something this simple.

Thanks for any help you can provide, I don't know how active this board is.

3ef20f No.1720

>>1104
As you've no doubt noticed; it's barely active at all.
I'd use something like python; it's not bad for babby's first script, and there's loads of libraries. Splitting a string into words is trivial, and there's bound to be loads of libraries to help with GET requests

76b398 No.1728

>>1104
If you give us more details a script could probably be written for you.
Just specify exactly what needs to be done

5e4a13 No.1733

>>1104
i could do this in 5 minutes, but i won't :)

56265e No.1748

>I'm learning Nipponese via romaji because I'm fed up with all the anti-romaji autism out there and don't give a shit about learning to read runes, but that means I have to provide 100% of my own content for learning, and staying stocked with new words to learn is much harder than actually learning them.

This is the dumbest thing I've ever heard.

2222d7 No.1757

At least learn kana.

671f4d No.1782

>>1733
good for you, fagface

e260e0 No.1809

>>1104
I would do lynx –dump and then mess around with awk.



[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]