Linkai
Linkai
@lolipopshock By the way, I think the `is_in` operation is too strict. Would it be better to allow some flexibility? This is especially useful for some blocks which are either...
Thanks @lolipopshock for your prompt reply. What you mention could be an instant solution. On the other hand, correct me if I am wrong, it requires to provide absolute value...
Thanks, it works.
Sorry, there is still exception even though setting `center=True`. In your example, when `block_A` **contains** `block_B`, `block_A.is_in(block_B, center=True)` is true. Then `is_in` is a little bit confused.
You may be also interested in this example: ` block_A = lp.Rectangle(40, 50, 150, 150) block_B = lp.Rectangle(40, 120, 140, 151) `
Any update?
Thanks @EtienneAb3d, hybrid MT is an interesting topic. Regarding the phrases which do not need translations, do you have better solutions to detect them. Spacy is somehow not accurate enough.
Same problem with `t2t-decoder;` however, the translation file can be produced eventually.
One more finding, when using `--checkpoint_path` rather than `--output_dir,` there will be no error.
> @martinpopel > Hi, I have a similar problem regarding OOV: i have a bilingual word file containing source words and its target translation. when decoding a source text sentence,...