mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 20:20:30 -04:00
part). These patches, released under a BSD license, seem to improve the accuracy of language detection, especially those that don't have a Latin script.
20 lines
792 B
C
20 lines
792 B
C
--- src/textcat.h.orig Mon May 19 14:16:31 2003
|
|
+++ src/textcat.h Thu Aug 23 22:47:07 2007
|
|
@@ -51,8 +51,17 @@
|
|
* Returns: handle on success, NULL on error. (At the moment, the
|
|
* only way errors can occur, is when the library cannot read the
|
|
* conffile, or one of the fingerprint files listed in it.)
|
|
+ *
|
|
+ * Replace older function (and has exacly the same behaviour)
|
|
+ * see below
|
|
*/
|
|
extern void *textcat_Init( const char *conffile );
|
|
+
|
|
+/**
|
|
+ * Originaly this function had only one parameter (conffile) it has been modified since OOo must be able to load alternativ DB
|
|
+ * Basicaly prefix is the directory path where fingerprints are stored
|
|
+ */
|
|
+extern void *special_textcat_Init( const char *conffile, const char *prefix );
|
|
|
|
/**
|
|
* textcat_Done() - Free up resources for handle
|