init
This commit is contained in:
62
pg_include/snowball/header.h
Executable file
62
pg_include/snowball/header.h
Executable file
@@ -0,0 +1,62 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* header.h
|
||||
* Replacement header file for Snowball stemmer modules
|
||||
*
|
||||
* The Snowball stemmer modules do #include "header.h", and think they
|
||||
* are including snowball/libstemmer/header.h. We adjust the CPPFLAGS
|
||||
* so that this file is found instead, and thereby we can modify the
|
||||
* headers they see. The main point here is to ensure that pg_config.h
|
||||
* is included before any system headers such as <stdio.h>; without that,
|
||||
* we have portability issues on some platforms due to variation in
|
||||
* largefile options across different modules in the backend.
|
||||
*
|
||||
* NOTE: this file should not be included into any non-snowball sources!
|
||||
*
|
||||
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
|
||||
*
|
||||
* src/include/snowball/header.h
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef SNOWBALL_HEADR_H
|
||||
#define SNOWBALL_HEADR_H
|
||||
|
||||
#include "postgres.h"
|
||||
|
||||
/* Some platforms define MAXINT and/or MININT, causing conflicts */
|
||||
#ifdef MAXINT
|
||||
#undef MAXINT
|
||||
#endif
|
||||
#ifdef MININT
|
||||
#undef MININT
|
||||
#endif
|
||||
|
||||
/* Now we can include the original Snowball header.h */
|
||||
#include "snowball/libstemmer/header.h" /* pgrminclude ignore */
|
||||
|
||||
/*
|
||||
* Redefine standard memory allocation interface to pgsql's one.
|
||||
* This allows us to control where the Snowball code allocates stuff.
|
||||
*/
|
||||
#ifdef malloc
|
||||
#undef malloc
|
||||
#endif
|
||||
#define malloc(a) palloc(a)
|
||||
|
||||
#ifdef calloc
|
||||
#undef calloc
|
||||
#endif
|
||||
#define calloc(a,b) palloc0((a) * (b))
|
||||
|
||||
#ifdef realloc
|
||||
#undef realloc
|
||||
#endif
|
||||
#define realloc(a,b) repalloc(a,b)
|
||||
|
||||
#ifdef free
|
||||
#undef free
|
||||
#endif
|
||||
#define free(a) pfree(a)
|
||||
|
||||
#endif /* SNOWBALL_HEADR_H */
|
||||
26
pg_include/snowball/libstemmer/api.h
Executable file
26
pg_include/snowball/libstemmer/api.h
Executable file
@@ -0,0 +1,26 @@
|
||||
|
||||
typedef unsigned char symbol;
|
||||
|
||||
/* Or replace 'char' above with 'short' for 16 bit characters.
|
||||
|
||||
More precisely, replace 'char' with whatever type guarantees the
|
||||
character width you need. Note however that sizeof(symbol) should divide
|
||||
HEAD, defined in header.h as 2*sizeof(int), without remainder, otherwise
|
||||
there is an alignment problem. In the unlikely event of a problem here,
|
||||
consult Martin Porter.
|
||||
|
||||
*/
|
||||
|
||||
struct SN_env {
|
||||
symbol * p;
|
||||
int c; int l; int lb; int bra; int ket;
|
||||
symbol * * S;
|
||||
int * I;
|
||||
unsigned char * B;
|
||||
};
|
||||
|
||||
extern struct SN_env * SN_create_env(int S_size, int I_size, int B_size);
|
||||
extern void SN_close_env(struct SN_env * z, int S_size);
|
||||
|
||||
extern int SN_set_current(struct SN_env * z, int size, const symbol * s);
|
||||
|
||||
58
pg_include/snowball/libstemmer/header.h
Executable file
58
pg_include/snowball/libstemmer/header.h
Executable file
@@ -0,0 +1,58 @@
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "api.h"
|
||||
|
||||
#define MAXINT INT_MAX
|
||||
#define MININT INT_MIN
|
||||
|
||||
#define HEAD 2*sizeof(int)
|
||||
|
||||
#define SIZE(p) ((int *)(p))[-1]
|
||||
#define SET_SIZE(p, n) ((int *)(p))[-1] = n
|
||||
#define CAPACITY(p) ((int *)(p))[-2]
|
||||
|
||||
struct among
|
||||
{ int s_size; /* number of chars in string */
|
||||
const symbol * s; /* search string */
|
||||
int substring_i;/* index to longest matching substring */
|
||||
int result; /* result of the lookup */
|
||||
int (* function)(struct SN_env *);
|
||||
};
|
||||
|
||||
extern symbol * create_s(void);
|
||||
extern void lose_s(symbol * p);
|
||||
|
||||
extern int skip_utf8(const symbol * p, int c, int lb, int l, int n);
|
||||
|
||||
extern int in_grouping_U(struct SN_env * z, const unsigned char * s, int min, int max, int repeat);
|
||||
extern int in_grouping_b_U(struct SN_env * z, const unsigned char * s, int min, int max, int repeat);
|
||||
extern int out_grouping_U(struct SN_env * z, const unsigned char * s, int min, int max, int repeat);
|
||||
extern int out_grouping_b_U(struct SN_env * z, const unsigned char * s, int min, int max, int repeat);
|
||||
|
||||
extern int in_grouping(struct SN_env * z, const unsigned char * s, int min, int max, int repeat);
|
||||
extern int in_grouping_b(struct SN_env * z, const unsigned char * s, int min, int max, int repeat);
|
||||
extern int out_grouping(struct SN_env * z, const unsigned char * s, int min, int max, int repeat);
|
||||
extern int out_grouping_b(struct SN_env * z, const unsigned char * s, int min, int max, int repeat);
|
||||
|
||||
extern int eq_s(struct SN_env * z, int s_size, const symbol * s);
|
||||
extern int eq_s_b(struct SN_env * z, int s_size, const symbol * s);
|
||||
extern int eq_v(struct SN_env * z, const symbol * p);
|
||||
extern int eq_v_b(struct SN_env * z, const symbol * p);
|
||||
|
||||
extern int find_among(struct SN_env * z, const struct among * v, int v_size);
|
||||
extern int find_among_b(struct SN_env * z, const struct among * v, int v_size);
|
||||
|
||||
extern int replace_s(struct SN_env * z, int c_bra, int c_ket, int s_size, const symbol * s, int * adjustment);
|
||||
extern int slice_from_s(struct SN_env * z, int s_size, const symbol * s);
|
||||
extern int slice_from_v(struct SN_env * z, const symbol * p);
|
||||
extern int slice_del(struct SN_env * z);
|
||||
|
||||
extern int insert_s(struct SN_env * z, int bra, int ket, int s_size, const symbol * s);
|
||||
extern int insert_v(struct SN_env * z, int bra, int ket, const symbol * p);
|
||||
|
||||
extern symbol * slice_to(struct SN_env * z, symbol * p);
|
||||
extern symbol * assign_to(struct SN_env * z, symbol * p);
|
||||
|
||||
extern void debug(struct SN_env * z, int number, int line_count);
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_danish.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_danish.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * danish_ISO_8859_1_create_env(void);
|
||||
extern void danish_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int danish_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_dutch.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_dutch.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * dutch_ISO_8859_1_create_env(void);
|
||||
extern void dutch_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int dutch_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_english.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_english.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * english_ISO_8859_1_create_env(void);
|
||||
extern void english_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int english_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_finnish.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_finnish.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * finnish_ISO_8859_1_create_env(void);
|
||||
extern void finnish_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int finnish_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_french.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_french.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * french_ISO_8859_1_create_env(void);
|
||||
extern void french_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int french_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_german.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_german.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * german_ISO_8859_1_create_env(void);
|
||||
extern void german_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int german_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_hungarian.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_hungarian.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * hungarian_ISO_8859_1_create_env(void);
|
||||
extern void hungarian_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int hungarian_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_italian.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_italian.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * italian_ISO_8859_1_create_env(void);
|
||||
extern void italian_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int italian_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_norwegian.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_norwegian.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * norwegian_ISO_8859_1_create_env(void);
|
||||
extern void norwegian_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int norwegian_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_porter.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_porter.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * porter_ISO_8859_1_create_env(void);
|
||||
extern void porter_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int porter_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_portuguese.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_portuguese.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * portuguese_ISO_8859_1_create_env(void);
|
||||
extern void portuguese_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int portuguese_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_spanish.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_spanish.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * spanish_ISO_8859_1_create_env(void);
|
||||
extern void spanish_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int spanish_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_swedish.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_1_swedish.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * swedish_ISO_8859_1_create_env(void);
|
||||
extern void swedish_ISO_8859_1_close_env(struct SN_env * z);
|
||||
|
||||
extern int swedish_ISO_8859_1_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_ISO_8859_2_romanian.h
Executable file
16
pg_include/snowball/libstemmer/stem_ISO_8859_2_romanian.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * romanian_ISO_8859_2_create_env(void);
|
||||
extern void romanian_ISO_8859_2_close_env(struct SN_env * z);
|
||||
|
||||
extern int romanian_ISO_8859_2_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_KOI8_R_russian.h
Executable file
16
pg_include/snowball/libstemmer/stem_KOI8_R_russian.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * russian_KOI8_R_create_env(void);
|
||||
extern void russian_KOI8_R_close_env(struct SN_env * z);
|
||||
|
||||
extern int russian_KOI8_R_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_danish.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_danish.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * danish_UTF_8_create_env(void);
|
||||
extern void danish_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int danish_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_dutch.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_dutch.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * dutch_UTF_8_create_env(void);
|
||||
extern void dutch_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int dutch_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_english.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_english.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * english_UTF_8_create_env(void);
|
||||
extern void english_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int english_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_finnish.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_finnish.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * finnish_UTF_8_create_env(void);
|
||||
extern void finnish_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int finnish_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_french.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_french.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * french_UTF_8_create_env(void);
|
||||
extern void french_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int french_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_german.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_german.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * german_UTF_8_create_env(void);
|
||||
extern void german_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int german_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_hungarian.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_hungarian.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * hungarian_UTF_8_create_env(void);
|
||||
extern void hungarian_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int hungarian_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_italian.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_italian.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * italian_UTF_8_create_env(void);
|
||||
extern void italian_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int italian_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_norwegian.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_norwegian.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * norwegian_UTF_8_create_env(void);
|
||||
extern void norwegian_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int norwegian_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_porter.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_porter.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * porter_UTF_8_create_env(void);
|
||||
extern void porter_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int porter_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_portuguese.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_portuguese.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * portuguese_UTF_8_create_env(void);
|
||||
extern void portuguese_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int portuguese_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_romanian.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_romanian.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * romanian_UTF_8_create_env(void);
|
||||
extern void romanian_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int romanian_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_russian.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_russian.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * russian_UTF_8_create_env(void);
|
||||
extern void russian_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int russian_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_spanish.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_spanish.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * spanish_UTF_8_create_env(void);
|
||||
extern void spanish_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int spanish_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_swedish.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_swedish.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * swedish_UTF_8_create_env(void);
|
||||
extern void swedish_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int swedish_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
16
pg_include/snowball/libstemmer/stem_UTF_8_turkish.h
Executable file
16
pg_include/snowball/libstemmer/stem_UTF_8_turkish.h
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern struct SN_env * turkish_UTF_8_create_env(void);
|
||||
extern void turkish_UTF_8_close_env(struct SN_env * z);
|
||||
|
||||
extern int turkish_UTF_8_stem(struct SN_env * z);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user