private Random rnd = new Random();
@Before
public void before() {
ArithEncoder arithEncoder = new ArithEncoder(new AdaptiveUnigramModel());
Encoder monotoneEncoder = new LevenshteinEncoder();
encoder = new FusionEncoder(arithEncoder, monotoneEncoder);
ArithDecoder arithDecoder = new ArithDecoder(new AdaptiveUnigramModel());
Decoder monotoneDecoder = new LevenshteinDecoder();
decoder = new FusionDecoder(arithDecoder, monotoneDecoder);