Skip to content

Commit 6b94753

Browse files
committed
Update README.md
1 parent d151e5b commit 6b94753

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ $length = $entity->length();
115115

116116
## Thresholds
117117

118-
The classifier uses a default threshold of `0.5`. You may provide a threshold at runtime when classifying text:
118+
The classifier uses a default threshold of `0.5`. The threshold is the minimum confidence score an entity must meet before it is returned. Increasing the threshold returns fewer, higher-confidence entities, while decreasing it may return more entities with lower confidence.
119+
120+
You may provide a threshold at runtime when classifying text:
119121

120122
```php
121123
$entities = PrivacyFilter::entities(

0 commit comments

Comments
 (0)