fairseq
fairseq copied to clipboard
How to intervene the translation result according to the dictionary
How to intervene the translation result according to the dictionary?
I have a dictionary, and I want to translate some words into the corresponding professional terms of the dictionary. Does this function have been implemented
Yes, look for "constrained decoding"