aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Text.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/tomo-Text.3')
-rw-r--r--man/man3/tomo-Text.312
1 files changed, 10 insertions, 2 deletions
diff --git a/man/man3/tomo-Text.3 b/man/man3/tomo-Text.3
index 634e3e0a..10032155 100644
--- a/man/man3/tomo-Text.3
+++ b/man/man3/tomo-Text.3
@@ -1,8 +1,8 @@
'\" t
-.\" Copyright (c) 2025 Bruce Hill
+.\" Copyright (c) 2026 Bruce Hill
.\" All rights reserved.
.\"
-.TH Text 3 2025-11-29 "Tomo man-pages"
+.TH Text 3 2026-02-08 "Tomo man-pages"
.SH NAME
Text \- a Tomo type
.SH LIBRARY
@@ -67,6 +67,14 @@ For more, see:
.TP
+.BI Text.distance\ :\ func(a:\ Text,\ b:\ Text,\ language:\ Text\ =\ "C"\ ->\ Num)
+Get an approximate distance between two texts, such that when the distance is small, the texts are similar and when the distance is large, the texts are dissimilar.
+
+For more, see:
+.BR Tomo-Text.distance (3)
+
+
+.TP
.BI Text.ends_with\ :\ func(text:\ Text,\ suffix:\ Text,\ remainder:\ &Text?\ =\ none\ ->\ Bool)
Checks if the \fBText\fR ends with a literal suffix text.