KimDebroye / EPW-Recaster

Automates EPW equipment restatting.
9 stars 2 forks source link

Its possible to use in portuguese server? #2

Open gilbrancristovao opened 1 year ago

gilbrancristovao commented 1 year ago

What can i do for this app works on a server in Portuguese?

I tried to use the app on a portuguese server, but it doesn't recognize. For example: channeling time in Portuguese is Tempo de Invocação.

Is there a way to change these terms for him to recognize the information in Portuguese?

KimDebroye commented 1 year ago

As stated in the [ ReadMe > 1-5. Condition Entry (Entries) > Additional Notes ] :

Using any kind of text editor, the list of selectable stat options can be altered in .\Config\Stats.cfg (includes additional comments).

In the Stats.cfg file, feel free to make any changes in order to support the Portuguese language on your server.

Keep in mind however this tool uses Tesseract to perform OCR captures. The included data set it uses to recognize characters was trained on English words, so ~ by default ~ I'm not sure it 'll capture Portuguese characters well.

In case it doesn't, a starting point for you to find a data set trained on Portuguese characters may be found here: https://github.com/tesseract-ocr/tessdata

Additionally, you'd have to change the language to be used by Tesseract in the following class and rebuild the solution: https://github.com/KimDebroye/EPW-Recaster/blob/master/Tesseract.cs

I do hope you're able to make it work. Kindest regards.