Menu

#2 Bug in matching multi-word phrases

open
nobody
News Filter (4)
5
2007-05-13
2007-05-13
No

Sometimes, when a multi-word phrase is used as part of a concept, it gets matched even if the last word is only a partial match! Ex: "media person" phrase will match
"media personnel"! This is because the catchall condition generated in the JFlex file is only a single word. So, "media person" will indeed be the longest match! The fix would involve suffixing existing regexps to include a match for word ending.

Discussion


Log in to post a comment.