oasis-open / cti-python-stix2

OASIS TC Open Repository: Python APIs for STIX 2
https://stix2.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
356 stars 113 forks source link

Use string comparison in pattern semantic similarity calculations #544

Closed clenk closed 2 months ago

clenk commented 2 years ago

So it will return a % instead of a boolean, to be consistent with the other similarity functions.

clenk commented 1 year ago

We had discussed offline about switching to a tree edit distance algorithm like Zhang-Shasha. Need to look into something like https://github.com/timtadh/zhang-shasha