Stochastic linguistics for picture recognition