You are browsing as a guest. Sign up (or log in) to start making projects!

LinguaNow

  • 5 Devlogs
  • 34 Total hours

ULTRA FAST translator applcation which can translate 600 page pdfs in under a min. No paid tool can do this

Open comments for this post

6h 51m 38s logged

some of yallasked hows it so fast, well its a collection of many things

1 theres 2 google translate api providers and s couple more which are usually dead. So, i batch each api with 50 parallel requests per provider so its 100 for each.
other than this, it sends it paragraph by paragraph with the previous paragraph as context so theres no quality drop.
also, a semantic matcher saves usual phrases in sqlite and runs a separate instance for it.

other than this, if any paragraph fails, it fallsback to the local dictionary on system for it.
when all of this is done,

it stores every sigle coordinate of each paragraph and table and formatting and rebuilds it the exact same way.
i didnt test the normal translation to a huge extent because my focus was on building the document translator as it was more important to me but i think it should be alr

anyways, ciao yall. and pls vote me i want a polaroid ;)

some of yallasked hows it so fast, well its a collection of many things

1 theres 2 google translate api providers and s couple more which are usually dead. So, i batch each api with 50 parallel requests per provider so its 100 for each.
other than this, it sends it paragraph by paragraph with the previous paragraph as context so theres no quality drop.
also, a semantic matcher saves usual phrases in sqlite and runs a separate instance for it.

other than this, if any paragraph fails, it fallsback to the local dictionary on system for it.
when all of this is done,

it stores every sigle coordinate of each paragraph and table and formatting and rebuilds it the exact same way.
i didnt test the normal translation to a huge extent because my focus was on building the document translator as it was more important to me but i think it should be alr

anyways, ciao yall. and pls vote me i want a polaroid ;)

Replying to @Aman_Sachan

0
43
Open comments for this post

53m 23s logged

Life was so much simpler before i started coding

Life was so much simpler before i started coding

Replying to @Aman_Sachan

0
36
Open comments for this post

45m 20s logged

I’ve been fighting with PDF table preservation for 6 hours. Translating the text is easy, but keeping the coordinate mapping for complex nested tables was breaking every export. I finally wrote a custom block-level mapper that respects the original document bounds during the reconstruction phase.
I believe it’s perfect now

I’ve been fighting with PDF table preservation for 6 hours. Translating the text is easy, but keeping the coordinate mapping for complex nested tables was breaking every export. I finally wrote a custom block-level mapper that respects the original document bounds during the reconstruction phase.
I believe it’s perfect now

Replying to @Aman_Sachan

0
30
Open comments for this post

1h 15m 35s logged

Oh fudge, the services went down or rotated, I’ll have to figure out smth local based or a more permanent service, maybe full focus on Google Translate Api? They got a super advanced dictionary for translation, wouldn’t need to retrain, and I’ll js work on the accurate reconstruction parallel batching.
Will see how this goes

Oh fudge, the services went down or rotated, I’ll have to figure out smth local based or a more permanent service, maybe full focus on Google Translate Api? They got a super advanced dictionary for translation, wouldn’t need to retrain, and I’ll js work on the accurate reconstruction parallel batching.
Will see how this goes

Replying to @Aman_Sachan

0
21
Ship #1

It is a super fast Document translation webapp which is like condensed into one single html file. So even if it's not hosted, u can just open the html file in a browser.
I tested it's translation speeds on 2 Russian fan fiction novels because they weren't available English. U can use any file to translate as well, it works so fast u can't even imagine.
Even the paid tools which claim to translate PDFs can't translate it so fast but this worked. Handling concurrency was super hard and yes I used ai for working on its frontend because I am so dumb when it comes to designing.
Anyways I think I'm typing too much, but here it is, enjoy.

  • 5 devlogs
  • 34h
Try project → See source code →
Open comments for this post

24h 12m 56s logged

Made this super fast live translation app which can translate entire 600+pages pdf in under a min and the entire file is just one single html. even tho it is over 3k lines of code and very difficult to manage (mind u very little ai i used) but not even google or paid platforms can achieve such speeds.

Made this super fast live translation app which can translate entire 600+pages pdf in under a min and the entire file is just one single html. even tho it is over 3k lines of code and very difficult to manage (mind u very little ai i used) but not even google or paid platforms can achieve such speeds.

Replying to @Aman_Sachan

0
107

Followers

Loading…