diff options
author | George Marques <george@gmarqu.es> | 2016-06-13 14:12:12 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2016-06-19 11:43:47 -0300 |
commit | d3dff93e33bb61bde1cc8c311c38c3ba356b2c7f (patch) | |
tree | 8261311d0f52a0712f5a7f53e4f4ad2fca4efdb9 /doc | |
parent | 1b8d0a16b7df53aa0f43f046fe8fcc4b446df69e (diff) |
Add docs for String.bigrams() and String.similarity(text)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/base/classes.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index b773d85b02..e687fb5ccf 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -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. </description> </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"> <return type="String"> </return> @@ -37627,6 +37634,15 @@ This method controls whether the position between two cached points is interpola <description> </description> </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"> <return type="StringArray"> </return> |