This commit is contained in:
13
docs/snippets/python/metadata/language_detection.md
Normal file
13
docs/snippets/python/metadata/language_detection.md
Normal file
@@ -0,0 +1,13 @@
|
||||
```python title="Python"
|
||||
from kreuzberg import ExtractionConfig, LanguageDetectionConfig
|
||||
|
||||
config = ExtractionConfig(
|
||||
language_detection=LanguageDetectionConfig(
|
||||
enabled=True,
|
||||
min_confidence=0.9,
|
||||
detect_multiple=True,
|
||||
),
|
||||
)
|
||||
|
||||
print(config.language_detection)
|
||||
```
|
||||
Reference in New Issue
Block a user