Svag matchende rim for pattern analysis