Update README.md
Browse files
README.md
CHANGED
@@ -80,9 +80,9 @@ question = "Which movie is loosley based off the Brother Grimm's Iron Henry?"
|
|
80 |
cfm = CFMatcher()
|
81 |
scores = cfm.get_scores(reference_answer, candidate_answer, question)
|
82 |
match_result = cfm.cf_match(reference_answer, candidate_answer, question)
|
83 |
-
print("Score: %s;
|
84 |
'''
|
85 |
-
Score: {'the frog prince': {'The movie "The Princess and the Frog" is loosely based off the Brother Grimm\'s "Iron Henry"': 0.7131625951317375}, 'the princess and the frog': {'The movie "The Princess and the Frog" is loosely based off the Brother Grimm\'s "Iron Henry"': 0.854451712151719}};
|
86 |
'''
|
87 |
```
|
88 |
|
|
|
80 |
cfm = CFMatcher()
|
81 |
scores = cfm.get_scores(reference_answer, candidate_answer, question)
|
82 |
match_result = cfm.cf_match(reference_answer, candidate_answer, question)
|
83 |
+
print("Score: %s; PD Match: %s" % (scores, match_result))
|
84 |
'''
|
85 |
+
Score: {'the frog prince': {'The movie "The Princess and the Frog" is loosely based off the Brother Grimm\'s "Iron Henry"': 0.7131625951317375}, 'the princess and the frog': {'The movie "The Princess and the Frog" is loosely based off the Brother Grimm\'s "Iron Henry"': 0.854451712151719}}; PD Match: True
|
86 |
'''
|
87 |
```
|
88 |
|