language processing algorithm | infpath