You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Add docs for String.bigrams() and String.similarity(text)
This commit is contained in:
@@ -37268,6 +37268,13 @@ This method controls whether the position between two cached points is interpola
|
|||||||
Return true if the strings begins with the given string.
|
Return true if the strings begins with the given string.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="bigrams">
|
||||||
|
<return type="StringArray">
|
||||||
|
</return>
|
||||||
|
<description>
|
||||||
|
Return the bigrams (pairs of consecutive letters) of this string.
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="c_escape">
|
<method name="c_escape">
|
||||||
<return type="String">
|
<return type="String">
|
||||||
</return>
|
</return>
|
||||||
@@ -37627,6 +37634,15 @@ This method controls whether the position between two cached points is interpola
|
|||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
<method name="similarity">
|
||||||
|
<return type="float">
|
||||||
|
</return>
|
||||||
|
<argument index="0" name="text" type="String">
|
||||||
|
</argument>
|
||||||
|
<description>
|
||||||
|
Return the similarity index of the text compared to this string. 1 means totally similar and 0 means totally dissimilar.
|
||||||
|
</description>
|
||||||
|
</method>
|
||||||
<method name="split">
|
<method name="split">
|
||||||
<return type="StringArray">
|
<return type="StringArray">
|
||||||
</return>
|
</return>
|
||||||
|
|||||||
Reference in New Issue
Block a user