+\r
+ /** KMismatches (s): returns document identifiers for the texts that\r
+ * contain occurrence of string s with at most K mismatches. */\r
+ TextCollection::document_result KMismatches(uchar const *s, unsigned K) {\r
+ return Text->KMismatches(s, K);\r
+ }\r
+\r
+ /** KErrors (s): returns document identifiers for the texts that\r
+ * contain occurrence of string s with at most K errors. \r
+ * The accepted "errors" are insertions, deletions and mutations of chars.\r
+ */\r
+ TextCollection::document_result KErrors(uchar const *s, unsigned K) {\r
+ return Text->KErrors(s, K);\r
+ }\r