OPUS-CAT icon indicating copy to clipboard operation
OPUS-CAT copied to clipboard

memoQ 9.8 Plugin

Open drkhateeb opened this issue 4 years ago • 17 comments

OPUS - CAT plaugin for memoQ 9.8.6 is not working no translation comes from MT please fix it

I suggest adding a Pre/Post MT Tweaking using a glossary to replace specific terms with user-defined ones check this https://github.com/RWS/Sdl-Community/tree/master/MT%20Enhanced%20Provider

and this

https://appstore.sdl.com/language/app/rys-google-cloud-translate-nmt/775/

drkhateeb avatar Jul 07 '21 23:07 drkhateeb

Hi,

Seems that memoQ changed the plugin API in 9.7.10, I changed the plugin to fix that earlier this year, and then memoQ changed the plugin API back in later versions. Looks like the older memoQ plugin works with 9.8.6, I've updated the installation page to reflect this: https://helsinki-nlp.github.io/OPUS-CAT/install. So you should be able to use the memoQ plugin by installing the following plugin file: https://github.com/Helsinki-NLP/OPUS-CAT/raw/develop/build/2020-10-07/FiskmoMTPlugin.dll.

I have pre- and post-processing of MT input and output planned, hopefully I can add it soon.

TommiNieminen avatar Jul 08 '21 09:07 TommiNieminen

Thank for clarification but neither the old nor new plugin worked with 9.8.6 version

drkhateeb avatar Jul 11 '21 15:07 drkhateeb

Sorry about the late reply. The plugin file that I linked to earlier works in my 9.8.6., so I don't really know what could cause the problem. The only thing I can think of is that maybe the dll file has not been unblocked after download (right-click file, choose Properties, check the Unblock box in the bottom right of the Properties window).

TommiNieminen avatar Aug 02 '21 13:08 TommiNieminen

Hello Dear could you please send me your plugin as an attachment here

Regards

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: @.> Sent: Monday, August 2, 2021 4:58 PM To: @.> Cc: @.>; @.> Subject: Re: [Helsinki-NLP/OPUS-CAT] memoQ 9.8 Plugin (#21)

Sorry about the late reply. The plugin file that I linked to earlier works in my 9.8.6., so I don't really know what could cause the problem. The only thing I can think of is that maybe the dll file has not been unblocked after download (right-click file, choose Properties, check the Unblock box in the bottom right of the Properties window).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Helsinki-NLP/OPUS-CAT/issues/21#issuecomment-891049403, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABHMW4BR7XSDU77FWQ75ZDT22P6RANCNFSM477SEFRQ.

drkhateeb avatar Aug 02 '21 14:08 drkhateeb

Here you go (had to zip it since Github won't allow attaching dll's): FiskmoMTPlugin.zip

TommiNieminen avatar Aug 02 '21 14:08 TommiNieminen

Thank you very much I will check it and update you best

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: @.> Sent: Monday, August 2, 2021 5:06 PM To: @.> Cc: @.>; @.> Subject: Re: [Helsinki-NLP/OPUS-CAT] memoQ 9.8 Plugin (#21)

Here you go (had to zip it since Github won't allow attaching dll's): FiskmoMTPlugin.ziphttps://github.com/Helsinki-NLP/OPUS-CAT/files/6917525/FiskmoMTPlugin.zip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Helsinki-NLP/OPUS-CAT/issues/21#issuecomment-891056467, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABHMW4FXTOIKW6SN6TEX7LT22Q6HANCNFSM477SEFRQ.

drkhateeb avatar Aug 02 '21 14:08 drkhateeb

Hello it is working now with memoQ 9.8.7

Could you please train a new English Arabic model from scratch I have a high quality medical TMX 500.000 segments plus to 180.000 medical terms

Regards

From: @.> Sent: Monday, August 2, 2021 5:06 PM To: @.> Cc: @.>; @.> Subject: Re: [Helsinki-NLP/OPUS-CAT] memoQ 9.8 Plugin (#21)

Here you go (had to zip it since Github won't allow attaching dll's): FiskmoMTPlugin.ziphttps://github.com/Helsinki-NLP/OPUS-CAT/files/6917525/FiskmoMTPlugin.zip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Helsinki-NLP/OPUS-CAT/issues/21#issuecomment-891056467, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABHMW4FXTOIKW6SN6TEX7LT22Q6HANCNFSM477SEFRQ.

drkhateeb avatar Aug 03 '21 06:08 drkhateeb

Hi,

Unfortunately we can't specifically train new models for users, but there are few options to incorporate your own data into OPUS-CAT models:

  1. First, if you own the rights to the data, you can contribute the data to the OPUS project (https://opus.nlpl.eu/). The contributed data would eventually be used to train new models for OPUS-MT, which would make it available in OPUS-CAT (but it would probably take a long time for the data to be used in training of new models, they aren't updated that often).
  2. A quicker option is to use the fine-tuning functionality in the OPUS-CAT MT Engine to finetune one of the existing models with your own data, instructions are here (the info is for version 1.0.0.4 of the engine, but the main functionality is the same): https://helsinki-nlp.github.io/OPUS-CAT/enginefinetune. Your tmx is pretty large, but you might be able to use it for fine-tuning without problems (although it would take a lot of time to run to completion, at least a couple of days). If you use the Trados plugin, you can fine-tune with job-specific data (100 percent and fuzzy matches of the source text), which makes the fine-tuning much more efficient, as only relevant data is used: https://helsinki-nlp.github.io/OPUS-CAT/tradospluginfinetune.

-Tommi

TommiNieminen avatar Aug 06 '21 10:08 TommiNieminen

Hi,

Seems that memoQ changed the plugin API in 9.7.10, I changed the plugin to fix that earlier this year, and then memoQ changed the plugin API back in later versions. Looks like the older memoQ plugin works with 9.8.6, I've updated the installation page to reflect this: https://helsinki-nlp.github.io/OPUS-CAT/install. So you should be able to use the memoQ plugin by installing the following plugin file: https://github.com/Helsinki-NLP/OPUS-CAT/raw/develop/build/2020-10-07/FiskmoMTPlugin.dll.

I have pre- and post-processing of MT input and output planned, hopefully I can add it soon.

This was my experience too. I had to update the memoQ plugin to get Opus to work but then, after a memoQ update, Opus would not work until I dropped back down to the old memoQ plugin

SafeTex avatar Aug 06 '21 15:08 SafeTex

I am a user of memoQ 9.8.8 English-French. The plugin you shared in this feed works with memoQ in standlaone mode, but not with 'server-based' memoQ. I connect to a company's memoQ domain in order to translate for them using their TMX resources, and in this case Fiskmo does not work, although DeepL and Modern MT do). I tried ALL plugins you suggested. Anything else I can try?

Vicken2 avatar Oct 03 '21 17:10 Vicken2

It is better to try intento with 35 Machine translation included https://inten.to/

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: @.> Sent: Sunday, October 3, 2021 8:46 PM To: @.> Cc: @.>; @.> Subject: Re: [Helsinki-NLP/OPUS-CAT] memoQ 9.8 Plugin (#21)

I am a user of memoQ 9.8.8 English-French. The plugin you shared in this feed works with memoQ in standlaone mode, but not with 'server-based' memoQ. I connect to a company's memoQ domain in order to translate for them using their TMX resources, and in this case Fiskmo does not work, although DeepL and Modern MT do). I tried ALL plugins you suggested. Anything else I can try?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Helsinki-NLP/OPUS-CAT/issues/21#issuecomment-932995674, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABHMW6IKVUZMAXTHW67PTDUFCJF7ANCNFSM477SEFRQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

drkhateeb avatar Oct 03 '21 17:10 drkhateeb

Thank you for your quick response. Intento is not free, and is rather used for its ability to pick the right combination of languages for a multi-language environment. My environment is simpler: only English to French, and it is cheaper to go directly with DeepL or Modern MT. I trained a model in Friskmo with a sizeable TMX file and it surprisingly gave me good results. I wish I could train DeepL like that! Vicken

On Sun, 3 Oct 2021 at 13:48, drkhateeb @.***> wrote:

It is better to try intento with 35 Machine translation included https://inten.to/

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: @.> Sent: Sunday, October 3, 2021 8:46 PM To: @.> Cc: @.>; @.> Subject: Re: [Helsinki-NLP/OPUS-CAT] memoQ 9.8 Plugin (#21)

I am a user of memoQ 9.8.8 English-French. The plugin you shared in this feed works with memoQ in standlaone mode, but not with 'server-based' memoQ. I connect to a company's memoQ domain in order to translate for them using their TMX resources, and in this case Fiskmo does not work, although DeepL and Modern MT do). I tried ALL plugins you suggested. Anything else I can try?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://github.com/Helsinki-NLP/OPUS-CAT/issues/21#issuecomment-932995674>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/AABHMW6IKVUZMAXTHW67PTDUFCJF7ANCNFSM477SEFRQ

. Triage notifications on the go with GitHub Mobile for iOS< https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android< https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Helsinki-NLP/OPUS-CAT/issues/21#issuecomment-932996013, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV4WTOL3MB5OYMJWULUMNX3UFCJPDANCNFSM477SEFRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Vicken2 avatar Oct 03 '21 18:10 Vicken2

Hello Vicken2 and all

The bundling of Opus MT in memoQ is up on the memoQ ideas portal but for the moment, it has not been chosen by memoQ as a priority But when I posted this request, I did mention Gergely Bereczki at memoQ who works in support and seems to know a fair bit about Opus MT The only thing I can think of is that you contact him, just in the hope that he knows how to "tweak" memoQ so that Opus works with a memoQ server. But it's a long shot. In the meantime, I will add a comment to this Ideas Portal pointing out that Opus MT does not work with server projects, so perhaps if the idea is taken up by memoQ, then they could look at this too Regards Dave Neve (SafeTex)

SafeTex avatar Oct 03 '21 18:10 SafeTex

Thanks for your answer, Dave.

Unfortunately, I can't set up a testing environment for server-based memoQ, so even if it would be possible to get the plugin to work with the server-based memoQ, I can't really explore the possibility.

TommiNieminen avatar Oct 03 '21 19:10 TommiNieminen

Hello Tommi

I assume you have memoQ in order to do what you have already done???

Is the problem simply that you don't have anyone to give you an online project 'cos if that's the problem, I may be able to arrange this.

if you don't have memoQ, I might be able to arrange this too (but no promises)

Thanks

SafeTex avatar Oct 04 '21 10:10 SafeTex

Hi Dave,

I've used memoQ in the free mode for testing the plugin (memoQ is pretty good in that respect, it's a lot harder to test Trados, since their trial versions expire, and I don't want to buy licenses for three different Trados releases that we support). But the downside is I can't set up online projects with the free mode (and I'm not sure if I can even access online projects with the free mode). So I could use an online project for testing (and I'd appreciate if you can set that up), but I'm not sure whether it will work.

-Tommi

TommiNieminen avatar Oct 10 '21 19:10 TommiNieminen

Hello Vicken 2 and everyone

Just to say that I contacted memoQ some time ago about Opus not working if the project is server based and they are trying to help Opus resolve this by providing whatever Opus might need to solve this. Not sure how this will work out as I'm not a programmer but there is some hope that one day...

SafeTex avatar Oct 23 '21 04:10 SafeTex