Vocabulary dictionary

Kanji dictionary

Grammar dictionary

Sentence lookup

test
 

Forums - Interested in working with a renshuu API?

Top > renshuu.org > Developer corner

Page: 5 of 8



avatar
マイコー
Level: 281

add/remove content is through the put/delete actions on words/kanji/grammar (just like if you were to push the + button).

I don't think I'll be opening up all the community lists into the API, unless I hear a compelling usage case as for why. My lists, though, I could see (ones that you made, anyway). Even that, though, I'd like to hear about expected usages of such an endpoint if it was put together.

0
5 months ago
Report Content
avatar
ライフェン
Level: 351

add/remove content is through the put/delete actions on words/kanji/grammar (just like if you were to push the + button).

I don't think I'll be opening up all the community lists into the API, unless I hear a compelling usage case as for why. My lists, though, I could see (ones that you made, anyway). Even that, though, I'd like to hear about expected usages of such an endpoint if it was put together.

Yes, 'my' lists, was not sure how to correctly name them.

Well.. I use ocr software, to capture characters from Manga or video.

All the captured text is saved into the file. Instead of manually picking words from that file and adding them to the list in renshuu, I'd love to add them to the list in renshuu via ocr software I use.

I usually ocr whole bubble of text in manga or via mpv pipe I get whole subtitle line. Then ocr software allows me to select portion of captured text and send it somewhere for (obviously) translation (I.e. Jisho), but it is possible to add custom links. So instead of picking words from file and adding them to the list, it'd be way easier to add them as soon as I've just captured text.

Probably it'd be better for me to make proof of concept to see if it really works as I expect, since it is non-trivial usage.

I will write small application and come back after tests :)

Will take a bit of time as currently I'm out of country, sorry :/

0
5 months ago
Report Content
avatar
All the captured text is saved into the file. Instead of manually picking words from that file and adding them to the list in renshuu, I'd love to add them to the list in renshuu via ocr software I use.

Wouldn’t Reading Buddy be the best way to do this?

EDIT: I meant the text analyzer. Got the names mixed up.

0
5 months ago
Report Content
avatar
マイコー
Level: 281

I think they're referring to a)full sentences (and not words as much), as well as the best-guess auto-parsing that comes in via the text analyzer or chunks of text you get when pasting into the vocab dict.

0
5 months ago
Report Content
avatar

Maybe you could extend Reading Buddy so that it can add sentences too? It would have to be optional, probably, and pro only.

*text analyzer

0
5 months ago
Report Content
avatar
マイコー
Level: 281

It has been suggested! I don't want to go any more offtopic, but it'll probably become an option when I make the auto-parse option available for private sentences.

1
5 months ago
Report Content
avatar
ライフェン
Level: 351

I think they're referring to a)full sentences (and not words as much), as well as the best-guess auto-parsing that comes in via the text analyzer or chunks of text you get when pasting into the vocab dict.


Exactly.

Let's say I push overall 3-5k words from a single episode into text analyzer.

They are all sentences.

Number of words is that big because I capture all the subtitles. Also from time to time I rewind for different reasons, thus duplicates.

Then I filter them with text analyzer's built-in functions to lower number to, let's say 500 and then manually remove words that I feel are not needed. Last time it took around 10-20 mins. It is not that much and I can live with it, but if there is a possibility to automate it - I'd be glad to do so.


TL;DR adding words with 1 click is way easier than with 4-5 clicks every 10 seconds.

Automation saves so much time.

0
5 months ago
Report Content
avatar
ライフェン
Level: 351
All the captured text is saved into the file. Instead of manually picking words from that file and adding them to the list in renshuu, I'd love to add them to the list in renshuu via ocr software I use.

Wouldn’t Reading Buddy be the best way to do this?


And it works, no issues.

My point is not that UI functionality is not enough. My point is that if there is a possibility to automate it, make it easier - why not?

Even if my request is declined, I will continue with reading buddy and text analyzer as they already save a lot of time.

0
5 months ago
Report Content
avatar
マイコー
Level: 281

Let's shelf this conversation in this thread, and feel free to bring it up in a separate one - it's definitely a discussion I'd like to continue having.

1
5 months ago
Report Content
avatar
マイコー
Level: 281

Vocab only, and not yet documented, but user data (missed/correct counts, mastery level, per vector data, when to study next, etc.) loaded in.

0
5 months ago
Report Content
avatar
マイコー
Level: 281

Extended to kanji/grammar, included in docs.

I'm still figuring out what the best way to handle fetching user lists would be - a schedule could potentially have thousands of terms, so I guess just the same 50 per page as usual?

0
5 months ago
Report Content
avatar
マイコー
Level: 281

/schedule/:id/list

now available! parameters up on docs page. Available for all but conjugation schedules.


0
5 months ago
Report Content
avatar
マイコー
Level: 281

Re-opened the /list parameter for schedules :)

0
5 months ago
Report Content
avatar
RobSea
Level: 118

Hi, I to keep the daily item's to review around a certain number. Since the daily items to review can vary a lot a forecast for the next few days would be really helpfull. Since renshuu doen't have that feature (or I'm too blind to find it ) I tried to gobble something together with the API.

I found a error in the documentation:

"/schedule/{id}/list" .contents.terms is documented as
"Array< Kanji | SimpleSentence | Word >"
but seems to be
"Array< Kanji | Sentence(?) | Word | Grammar >"

With Sentence(?) beeing undocumented.

You can find the POC here: https://seath.de/forecast/

And I have a question regarding the request rate limit. Since the way I gather the data produces many requests ((termCountInSchedule/pageSize) per schedule).

With testing around (and a bug) I ran into the limit pretty fast. What is roughly the limit? And is there a way to get a whole schedule in one call or at least increase the pageSize?

0
4 months ago
Report Content
avatar
マイコー
Level: 281

renshuu can show upcoming review counts (you can see it if you tap on a schedule's name and go to the schedule summary), but it does not try to calculate where terms that are studied today will go in the future, so the numbers can be quite accurate (in a more mature schedule), or way low in a schedule with new terms / lots of terms in the level 1-3 range.

Currently, rate is 100 per day, I think. I plan on exposing the usage numbers sooner than later. I just moved it to 500 for now, but I'd like to get a better feel for how many you (and others) would like to have, and for what specific reasons. That'll give me a better feel for what it should be set at (and it'll most likely be higher for renshuu pro users).

I do need to clean up the documentation on /list a bit - it was added last (I was excited to get it in, and so I did not put as much time into the docs as I usually do.)


Edit: if you think those forecast days would be useful, I can add them into the api.

0
4 months ago
Report Content
avatar
RobSea
Level: 118

renshuu can show upcoming review counts (you can see it if you tap on a schedule's name and go to the schedule summary), [...]

Huh? I can't see it. Is it supposed to look different than this?

[Edit: Damn I AM blind . In my defence it's labeled with "past 4 days" xD]

"terms in the level 1-3 range":
That would be ok, but seems the whole widget is missing.

"I just moved it to 500 for now"
ありがとうございます。

"I do need to clean up [...]":
No worries, just wanted to let you know, could've been new information.

"if you think those forecast days would be useful, I can add them into the api.":
That would be nice. Even if I can summon back the missing widget somehow, it would allow for a better overview across all schedules.

0
4 months ago
Report Content
avatar

79 20 25 32 16 15 8

I believe these are the numbers Michael is talking about.

I’ve never found them to be all that useful as an end user, but they might serve as data for a smart motivation widget, if anyone desires to write such a thing.

0
4 months ago
Report Content
avatar
マイコー
Level: 281

I'm hoping to get some api work in wed/thur this week.

1
4 months ago
Report Content
avatar
マイコー
Level: 281

"upcoming" field documented and added to schedules

/list/all/{termtype} now available (and documented).

termtype can be vocab, kanji, grammar, or sent

/list/{id} also available for personal lists (but there is not yet an endpoint for getting a list of your lists)


For /list/{id}, other than the contents, id, and title, any other info you want on it?

0
4 months ago
Report Content
avatar
マイコー
Level: 281

/lists is up :)

0
4 months ago
Report Content
Getting the posts


Page: 5 of 8



Top > renshuu.org > Developer corner


Loading the list
Lv.

Sorry, there was an error on renshuu! If it's OK, please describe what you were doing. This will help us fix the issue.

Characters to show:





Use your mouse or finger to write characters in the box.
■ Katakana ■ Hiragana