aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/patrickschur/language-detection/src/LanguageDetection/Tokenizer/TokenizerInterface.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-10-07 16:00:34 +0000
committerMario <mario@mariovavti.com>2023-10-07 16:00:34 +0000
commit2f2e353ecef52639a78cac3bc407ccfe64197ac9 (patch)
tree557793121ec08dce6e97c064a100994e8d3990c5 /vendor/patrickschur/language-detection/src/LanguageDetection/Tokenizer/TokenizerInterface.php
parent0092b7c0a4d6cf49c092e2232af63f87be63142b (diff)
downloadvolse-hubzilla-2f2e353ecef52639a78cac3bc407ccfe64197ac9.tar.gz
volse-hubzilla-2f2e353ecef52639a78cac3bc407ccfe64197ac9.tar.bz2
volse-hubzilla-2f2e353ecef52639a78cac3bc407ccfe64197ac9.zip
use new lang detect library which supports much more languages
Diffstat (limited to 'vendor/patrickschur/language-detection/src/LanguageDetection/Tokenizer/TokenizerInterface.php')
-rw-r--r--vendor/patrickschur/language-detection/src/LanguageDetection/Tokenizer/TokenizerInterface.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/patrickschur/language-detection/src/LanguageDetection/Tokenizer/TokenizerInterface.php b/vendor/patrickschur/language-detection/src/LanguageDetection/Tokenizer/TokenizerInterface.php
new file mode 100644
index 000000000..f06074628
--- /dev/null
+++ b/vendor/patrickschur/language-detection/src/LanguageDetection/Tokenizer/TokenizerInterface.php
@@ -0,0 +1,18 @@
+<?php
+
+declare(strict_types = 1);
+
+namespace LanguageDetection\Tokenizer;
+
+/**
+ * Interface TokenizerInterface
+ *
+ * @copyright Patrick Schur
+ * @license https://opensource.org/licenses/mit-license.html MIT
+ * @author Patrick Schur <patrick_schur@outlook.de>
+ * @package LanguageDetection
+ */
+interface TokenizerInterface
+{
+ public function tokenize(string $str): array;
+} \ No newline at end of file