Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ result = container.calc_intent("play bohemian rhapsody")
| Exact, cased match, registered entity value | 1.00 |
| Exact match, entity value not in samples | 0.90 |
| Exact match, unregistered entity | 0.96 |
| Case-insensitive match | βˆ’0.05 |
| Wildcard (`*`), proportional to open-token ratio | βˆ’0.05 … βˆ’0.25 |

Queries and training samples are both lowercased before matching (`OVOS-INTENT-1` normalization), so a query never reaches `calc_intent` with different casing than its pattern. The case-insensitive path exists in the matcher for callers that bypass this normalization, but `calc_intent`/`calc_intents` always see already-lowercased input.

### Fuzzy matching

```python
Expand Down
Loading