Predictive typing method for Persian office automation