提交 434d5f44 编写于 作者: M Mark Needham

more text functions

上级 00c832ca
......@@ -25,5 +25,9 @@ apoc.text.distance(text1 :: STRING?, text2 :: STRING?) :: (INTEGER?)
|text2|STRING?|null
|===
[[usage-apoc.text.distance]]
== Usage Examples
include::partial$usage/apoc.text.distance.adoc[]
xref::misc/text-functions.adoc[More documentation of apoc.text.distance,role=more information]
......@@ -25,5 +25,9 @@ apoc.text.fuzzyMatch(text1 :: STRING?, text2 :: STRING?) :: (BOOLEAN?)
|text2|STRING?|null
|===
[[usage-apoc.text.fuzzyMatch]]
== Usage Examples
include::partial$usage/apoc.text.fuzzyMatch.adoc[]
xref::misc/text-functions.adoc[More documentation of apoc.text.fuzzyMatch,role=more information]
......@@ -26,5 +26,9 @@ apoc.text.sorensenDiceSimilarity(text1 :: STRING?, text2 :: STRING?, languageTag
|languageTag|STRING?|en
|===
[[usage-apoc.text.sorensenDiceSimilarity]]
== Usage Examples
include::partial$usage/apoc.text.sorensenDiceSimilarity.adoc[]
xref::misc/text-functions.adoc[More documentation of apoc.text.sorensenDiceSimilarity,role=more information]
[source,cypher]
----
RETURN apoc.text.distance("Levenshtein", "Levenstein") AS output;
----
.Results
[opts="header"]
|===
| output
| 1
|===
\ No newline at end of file
[source,cypher]
----
RETURN apoc.text.fuzzyMatch("The", "the") AS output;
----
.Results
[opts="header"]
|===
| output
| TRUE
|===
\ No newline at end of file
[source,cypher]
----
RETURN apoc.text.sorensenDiceSimilarity("belly", "jolly") AS output;
----
.Results
[opts="header"]
|===
| output
| 0.5
|===
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册