Translation models in statistical machine translation can be scaled to large corpora and arbitrarily-long phrases by looking up translations of source phrases "on the fly" in an indexed parallel corpus using suffix arrays.
this can be slow because on-demand extraction of phrase tables is computationally expensive.