Update stix2/equivalence/object/__init__.py

docstrings

Co-authored-by: Chris Lenk <clenk@users.noreply.github.com>
pull/1/head
Emmanuelle Vargas-Gonzalez 2021-02-18 09:15:09 -05:00 committed by GitHub
parent 34feac6ae7
commit 75574c9427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def object_equivalence(obj1, obj2, prop_scores={}, threshold=70, **weight_dict):
score to result in successfully calling both objects equivalent. This
value can be tuned.
weight_dict: A dictionary that can be used to override settings
in the semantic equivalence process
in the similarity process
Returns:
bool: True if the result of the object similarity is greater than or equal to