RecognizerResult Sınıf
Bir tanıyıcı tarafından oluşturulan tanıma sonuçlarını içerir.
Oluşturucu
RecognizerResult(*, text: str = None, altered_text: str = None, intents: Dict[str, IntentScore] = None, entities: Dict[str, object] = None, properties: Dict[str, object] = None, **kwargs)
Yalnızca Anahtar Sözcük Parametreleri
| Name | Description |
|---|---|
|
text
Gerekli
|
|
|
altered_text
Gerekli
|
|
|
intents
Gerekli
|
|
|
entities
Gerekli
|
|
|
properties
Gerekli
|
|
Yöntemler
| convert | |
| get_top_scoring_intent |
En yüksek puan amacını ve puanını döndürür. |
convert
convert(result: object)
Parametreler
| Name | Description |
|---|---|
|
result
Gerekli
|
|
get_top_scoring_intent
En yüksek puan amacını ve puanını döndürür.
get_top_scoring_intent() -> TopIntent
Döndürülenler
| Tür | Description |
|---|---|
|
Amaç ve puan. |