Places markers on the ground based on voice input. Not in use due to unpredictable text output from Whisper, but could be expanded to allow voice commands.
More...
|
| static int | LevenshteinDistance (string source, string target) |
| | Calculates the Levenshtein distance between two strings. Levenshtein distance is a measure of the difference between two strings, calculated as the minimum number of single-character edits (insertions, deletions or substitutions) required to change one string into the other.
|
| |
Places markers on the ground based on voice input. Not in use due to unpredictable text output from Whisper, but could be expanded to allow voice commands.
◆ LevenshteinDistance()
| static int PlaceMarker.LevenshteinDistance |
( |
string | source, |
|
|
string | target ) |
|
inlinestatic |
Calculates the Levenshtein distance between two strings. Levenshtein distance is a measure of the difference between two strings, calculated as the minimum number of single-character edits (insertions, deletions or substitutions) required to change one string into the other.
- Parameters
-
| source | The source string. |
| target | The target string. |
- Returns
- The Levenshtein distance between the two strings.
◆ PlaceMarkerFromInput()
| void PlaceMarker.PlaceMarkerFromInput |
( |
int | messageId, |
|
|
string | userInput ) |
|
inline |
Places a marker on the ground based on user voice command string.
- Parameters
-
| messageId | The id of the message. |
| userInput | |
◆ markerPrefab
| GameObject PlaceMarker.markerPrefab |
◆ userInput
| string PlaceMarker.userInput |
The documentation for this class was generated from the following file:
- /github/workspace/Packages/FMAR/Utilities/PythonAudioTranscriber/Runtime/Scripts/PlaceMarker.cs