Sidor om ämnet:   < [1 2]
BasicCAT, yet another open source CAT software
Trådens avsändare: xulihang
CafeTran Trainer
CafeTran Trainer
Nederländerna
Medlem (2006)
B4J Dec 22, 2024

xulihang wrote:

You can start by writing a plugin following this guide: https://www.basiccat.org/how-to-write-a-plugin-for-imagetrans/

My major focus has been shifted to ImageTrans and this guide is for ImageTrans, but the basic process is the same.


Hi @Xulihang, good to see you're still here. Thanks for your reply. The BASIC on the page you linked to looks familiar to a VBA user. This makes it even more attractive to dive into the code of your application.

First I had to understand what B4J is. I found this: https://www.b4x.com/b4j.html. It's my understanding that B4J is a layer between (a kind of BASIC) and your OS via Java.


 
CafeTran Trainer
CafeTran Trainer
Nederländerna
Medlem (2006)
Italian messages Dec 26, 2024

Hi,

Why are the LT messages in Italian? Can I change it to English?

Image-000118

https://share.cleanshot.com/Lp2dn19B


 
CafeTran Trainer
CafeTran Trainer
Nederländerna
Medlem (2006)
XOJO Dec 26, 2024

Hello,

Are you familiar with www.xojo.com?

Do you think that it would be possible to leave all B4J parts behind and port the pure BASIC to XOJO? Just asking ...


 
xulihang
xulihang
Kina
Local time: 16:08
Kinesiska till Engelska
+ ...
TOPIC STARTER
Language Tool Dec 26, 2024

Hans Lenting wrote:
Why are the LT messages in Italian? Can I change it to English?


For languages other than English and Chinese, it uses auto detection: https://github.com/xulihang/BasicCAT/blob/6577644670af3ee870924f664bc999855b0eaaa1/BasicCAT/LanguageTool.bas#L23-L29

So it may misdetect the language.

More about Language Tool's API: https://languagetool.org/http-api/


 
xulihang
xulihang
Kina
Local time: 16:08
Kinesiska till Engelska
+ ...
TOPIC STARTER
Port to Xojo Dec 26, 2024

Hans Lenting wrote:

Hello,

Are you familiar with www.xojo.com?

Do you think that it would be possible to leave all B4J parts behind and port the pure BASIC to XOJO? Just asking ...


You can try to port the code for some functions like sentence segmentation to Xojo's BASIC.

It requires a lot of work.


 
CafeTran Trainer
CafeTran Trainer
Nederländerna
Medlem (2006)
Alas Dec 27, 2024

xulihang wrote:

Hans Lenting wrote:

Hello,

Are you familiar with www.xojo.com?

Do you think that it would be possible to leave all B4J parts behind and port the pure BASIC to XOJO? Just asking ...


You can try to port the code for some functions like sentence segmentation to Xojo's BASIC.

It requires a lot of work.


That's too bad! It would be a lot of fun to explore your code in Xojo (or a similar tool). I'm not familiar with all that Git stuff, and I'm not looking for another Java tool (I already have a very good one).


 
CafeTran Trainer
CafeTran Trainer
Nederländerna
Medlem (2006)
Reply from Xojo Dec 31, 2024

Technically, this seems possible but I think it will be a lot of work - it's hard to say how much but it does seem doable. Before that, I would look at the licenses and make sure that such a port is allowed, if the result would need to be open source, etc.

 
xulihang
xulihang
Kina
Local time: 16:08
Kinesiska till Engelska
+ ...
TOPIC STARTER
License Jan 7

Hans Lenting wrote:

Technically, this seems possible but I think it will be a lot of work - it's hard to say how much but it does seem doable. Before that, I would look at the licenses and make sure that such a port is allowed, if the result would need to be open source, etc.


The license is GPL. If you directly copy the code, then you need to follow the GPL license. If you just rewrite the code, you don't have to follow it.


 
Sidor om ämnet:   < [1 2]


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

BasicCAT, yet another open source CAT software







LinguaCore
AI Translation at Your Fingertips

The underlying LLM technology of LinguaCore offers AI translations of unprecedented quality. Quick and simple. Add a human linguistic review at the end for expert-level quality at a fraction of the cost and time.

More info »
Pastey
Your smart companion app

Pastey is an innovative desktop application that bridges the gap between human expertise and artificial intelligence. With intuitive keyboard shortcuts, Pastey transforms your source text into AI-powered draft translations.

Find out more »