title: How to use fairseq interactive.py non-interactively?
body: <p>I am trying to translate from English to Arabic using Fairseq. But the interactive.py script translate pieces of text fragment on-the-fly. But I need to use it as reading an input text file and writing output text file write. I referred this GitHub issue - <a href="https://github.com/pytorch/fairseq/issues/858" rel="nofollow noreferrer">https://github.com/pytorch/fairseq/issues/858</a> But it doesn't clearly explain on how to do it in general.
  Any suggestions ?</p>