Machine interpretation of patterns