]> git.mxchange.org Git - friendica.git/blobdiff - library/langdet/data/build-unicode_blocks.php
updated pear LangDetect to version 1.0.0
[friendica.git] / library / langdet / data / build-unicode_blocks.php
diff --git a/library/langdet/data/build-unicode_blocks.php b/library/langdet/data/build-unicode_blocks.php
new file mode 100644 (file)
index 0000000..afa75a5
--- /dev/null
@@ -0,0 +1,7 @@
+<?php
+/**
+ * Generate the serialized unicode_blocks.dat file shipped with the package
+ */
+$unicode_blocks = include __DIR__ . '/unicode_blocks.php';
+file_put_contents(__DIR__ . '/unicode_blocks.dat', serialize($unicode_blocks));
+?>
\ No newline at end of file