Svag matchende rim for pattern recognition