LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Filtered phrases of array

Hello,

LabVIEW has some tool to do this filter?
Find the closest phrases like a fuzzy logic

leandrofeder_0-1728931687156.png

 

0 Kudos
Message 1 of 4
(202 Views)

It depends on the goal of the comparison. Some algorithms are complex and require a word/phrase database. Much simpler, but not optimal for phrases, is the Levenshtein distance or the Dice-Sørensen coefficient. A diff algorithm such as the O(ND) difference algorithm might also be sufficient.

 

0 Kudos
Message 2 of 4
(140 Views)

Have you looked at regular expressions ? With -match for example

If you convert the array back to a string

Otherwise you are stuck with array methods

Lots of string methods too. Consider .contains() and -contains,, also select string

 

0 Kudos
Message 3 of 4
(125 Views)

Just count how many words exists and in what order. 

0 Kudos
Message 4 of 4
(108 Views)