extern
rhino
binding
java
src
ai
picovoice
rhino
java/src/ai/picovoice/rhino/RhinoInference.java
Go to the documentation of this file.
1
/*
2
Copyright 2018-2020 Picovoice Inc.
3
You may not use this file except in compliance with the license. A copy of the license is
4
located in the "LICENSE" file accompanying this source.
5
Unless required by applicable law or agreed to in writing, software distributed under the
6
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
7
express or implied. See the License for the specific language governing permissions and
8
limitations under the License.
9
*/
10
11
package
ai.picovoice.rhino;
12
13
import
java.util.Map;
14
15
public
class
RhinoInference {
16
final
private
boolean
isUnderstood
;
17
final
private
String
intent
;
18
final
private
Map<String, String>
slots
;
19
20
RhinoInference(
boolean
isUnderstood
, String
intent
, Map<String, String>
slots
) {
21
this.isUnderstood =
isUnderstood
;
22
this.intent =
intent
;
23
this.slots =
slots
;
24
}
25
26
public
boolean
getIsUnderstood
() {
27
return
isUnderstood
;
28
}
29
30
public
String
getIntent
() {
31
return
intent
;
32
}
33
34
public
Map<String, String>
getSlots
() {
35
return
slots
;
36
}
37
}
ai.picovoice.rhino.RhinoInference.getIntent
String getIntent()
Definition:
java/src/ai/picovoice/rhino/RhinoInference.java:30
ai.picovoice.rhino.RhinoInference.isUnderstood
final boolean isUnderstood
Definition:
android/Rhino/rhino/src/main/java/ai/picovoice/rhino/RhinoInference.java:16
ai.picovoice.rhino.RhinoInference.slots
final Map< String, String > slots
Definition:
android/Rhino/rhino/src/main/java/ai/picovoice/rhino/RhinoInference.java:18
ai.picovoice.rhino.RhinoInference.intent
final String intent
Definition:
android/Rhino/rhino/src/main/java/ai/picovoice/rhino/RhinoInference.java:17
ai.picovoice.rhino.RhinoInference.getIsUnderstood
boolean getIsUnderstood()
Definition:
java/src/ai/picovoice/rhino/RhinoInference.java:26
ai.picovoice.rhino.RhinoInference.getSlots
Map< String, String > getSlots()
Definition:
java/src/ai/picovoice/rhino/RhinoInference.java:34
picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:50