From a82fe04ac78dc14fecd5b434f70c78a9b22d6fef Mon Sep 17 00:00:00 2001 From: MohamedAliBouhaouala Date: Wed, 23 Apr 2025 13:40:11 +0100 Subject: [PATCH] fix: correct syntax --- api/docs/nlp/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/docs/nlp/README.md b/api/docs/nlp/README.md index 6aef9254..bb6c3375 100644 --- a/api/docs/nlp/README.md +++ b/api/docs/nlp/README.md @@ -38,7 +38,7 @@ Block B: Pattern: subject: claim Input: intent = issue, subject = insurance Block A: intent = enquiry, subject = insurance Block B: subject = insurance -➤ Block B is selected — Block A mismatches on `intent`. +➤ Block B is selected — Block A mismatches on intent. ``` ### Exclusion Due to Extra Patterns @@ -64,12 +64,12 @@ Block B: subject = insurance, subject = insurance Block C: subject = insurance Scoring Summary: -- Block A matches both patterns, but `subject = Any` is considered less specific. +- Block A matches both patterns, but subject = Any is considered less specific. - Block B has a redundant but fully specific match. - Block C matches only one pattern. ➤ Block A and Block B have similar raw scores. -➤ A **penalty factor** is applied to Block A due to its use of `Any`, reducing its final score. +➤ A penalty factor is applied to Block A due to its use of Any, reducing its final score. ➤ Block B is selected. ```