Skip to content

Commit c54b7c2

Browse files
author
stebloev
committed
Add snowball into ydb sync config
commit_hash:8b009e3fc6950c079fcdb5d2c2b7e515a3db07ec
1 parent 58a0bad commit c54b7c2

File tree

123 files changed

+61291
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+61291
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{% extends '//builtin/bag.ym' %}
2+
3+
{% block current_version %}3.0.1{% endblock %}
4+
5+
{% block current_url %}
6+
https://snowballstem.org/dist/libstemmer_c-{{self.version().strip()}}.tar.gz
7+
{% endblock %}
8+
9+
{% block patch_source %}
10+
(
11+
echo 'SRCS('
12+
cat mkinc.mak | grep '\.c' | tr -d '\\' | tr -d ' '
13+
echo ')'
14+
) > ya.make.inc
15+
rm -rf examples Makefile *.mak
16+
{% endblock %}
17+
18+
{% block ya_make %}
19+
NO_RUNTIME()
20+
21+
SUBSCRIBER(
22+
g:cpp-contrib
23+
)
24+
25+
ADDINCL(
26+
GLOBAL contrib/libs/snowball
27+
)
28+
29+
INCLUDE(ya.make.inc)
30+
{% endblock %}
31+
32+
{% block move_to_output %}
33+
{{super()}}
34+
cp -R ./ ${OUTPUT}/
35+
{% endblock %}
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# File format ($ symbol means the beginning of a line):
2+
#
3+
# $ # this message
4+
# $ # =======================
5+
# $ # comments (all commentaries should starts with some number of spaces and # symbol)
6+
# $ IGNORE_FILES {file1.ext1} {file2.ext2} - (optional) ignore listed files when generating license macro and credits
7+
# $ RENAME {original license id} TO {new license id} # user comments - (optional) use {new license id} instead {original license id} in ya.make files
8+
# $ # user comments
9+
# $
10+
# ${action} {license id} {license text hash}
11+
# $BELONGS ./ya/make/file/relative/path/1/ya.make ./ya/make/2/ya.make
12+
# ${all_file_action} filename
13+
# $ # user commentaries (many lines)
14+
# $ generated description - files with this license, license text... (some number of lines that starts with some number of spaces, do not modify)
15+
# ${action} {license spdx} {license text hash}
16+
# $BELONGS ./ya/make/file/relative/path/3/ya.make
17+
# ${all_file_action} filename
18+
# $ # user commentaries
19+
# $ generated description
20+
# $ ...
21+
#
22+
# You can modify action, all_file_action and add commentaries
23+
# Available actions:
24+
# keep - keep license in contrib and use in credits
25+
# skip - skip license
26+
# remove - remove all files with this license
27+
# rename - save license text/links into licenses texts file, but not store SPDX into LINCENSE macro. You should store correct license id into devtools.license.spdx.txt file
28+
#
29+
# {all file action} records will be generated when license text contains filename that exists on filesystem (in contrib directory)
30+
# We suppose that that files can contain some license info
31+
# Available all file actions:
32+
# FILE_IGNORE - ignore file (do nothing)
33+
# FILE_INCLUDE - include all file data into licenses text file
34+
# =======================
35+
36+
KEEP COPYRIGHT_SERVICE_LABEL 128e48e3192c0aa322b4563c29a8d370
37+
BELONGS ya.make
38+
License text:
39+
Copyright (c) 2001, Dr Martin Porter
40+
Copyright (c) 2004,2005, Richard Boulton
41+
Copyright (c) 2013, Yoshiki Shibukawa
42+
Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
43+
All rights reserved.
44+
Scancode info:
45+
Original SPDX id: COPYRIGHT_SERVICE_LABEL
46+
Score : 100.00
47+
Match type : COPYRIGHT
48+
Files with this license:
49+
COPYING [1:5]
50+
51+
KEEP COPYRIGHT_SERVICE_LABEL 9796c11b0b84b7230b425bae82ce2598
52+
BELONGS ya.make
53+
License text:
54+
Copyright (c) 2001, Dr Martin Porter
55+
Copyright (c) 2004,2005, Richard Boulton
56+
Copyright (c) 2013, Yoshiki Shibukawa
57+
Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
58+
All rights reserved.
59+
Scancode info:
60+
Original SPDX id: COPYRIGHT_SERVICE_LABEL
61+
Score : 100.00
62+
Match type : COPYRIGHT
63+
Files with this license:
64+
COPYING [1:5]
65+
66+
KEEP COPYRIGHT_SERVICE_LABEL a5e0b6d41c2465e61caf121c73575c76
67+
BELONGS ya.make
68+
License text:
69+
Copyright (c) 2001, Dr Martin Porter
70+
Copyright (c) 2004,2005, Richard Boulton
71+
Copyright (c) 2013, Yoshiki Shibukawa
72+
Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
73+
All rights reserved.
74+
Scancode info:
75+
Original SPDX id: COPYRIGHT_SERVICE_LABEL
76+
Score : 100.00
77+
Match type : COPYRIGHT
78+
Files with this license:
79+
COPYING [1:5]
80+
81+
KEEP COPYRIGHT_SERVICE_LABEL fb0434126c41307ef008634e902e058e
82+
BELONGS ya.make
83+
License text:
84+
Copyright (c) 2001, Dr Martin Porter
85+
Copyright (c) 2004,2005, Richard Boulton
86+
Copyright (c) 2013, Yoshiki Shibukawa
87+
Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
88+
All rights reserved.
89+
Scancode info:
90+
Original SPDX id: COPYRIGHT_SERVICE_LABEL
91+
Score : 100.00
92+
Match type : COPYRIGHT
93+
Files with this license:
94+
COPYING [1:5]
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# File format ($ symbol means the beginning of a line):
2+
#
3+
# $ # this message
4+
# $ # =======================
5+
# $ # comments (all commentaries should starts with some number of spaces and # symbol)
6+
# $ IGNORE_FILES {file1.ext1} {file2.ext2} - (optional) ignore listed files when generating license macro and credits
7+
# $ RENAME {original license id} TO {new license id} # user comments - (optional) use {new license id} instead {original license id} in ya.make files
8+
# $ # user comments
9+
# $
10+
# ${action} {license id} {license text hash}
11+
# $BELONGS ./ya/make/file/relative/path/1/ya.make ./ya/make/2/ya.make
12+
# ${all_file_action} filename
13+
# $ # user commentaries (many lines)
14+
# $ generated description - files with this license, license text... (some number of lines that starts with some number of spaces, do not modify)
15+
# ${action} {license spdx} {license text hash}
16+
# $BELONGS ./ya/make/file/relative/path/3/ya.make
17+
# ${all_file_action} filename
18+
# $ # user commentaries
19+
# $ generated description
20+
# $ ...
21+
#
22+
# You can modify action, all_file_action and add commentaries
23+
# Available actions:
24+
# keep - keep license in contrib and use in credits
25+
# skip - skip license
26+
# remove - remove all files with this license
27+
# rename - save license text/links into licenses texts file, but not store SPDX into LINCENSE macro. You should store correct license id into devtools.license.spdx.txt file
28+
#
29+
# {all file action} records will be generated when license text contains filename that exists on filesystem (in contrib directory)
30+
# We suppose that that files can contain some license info
31+
# Available all file actions:
32+
# FILE_IGNORE - ignore file (do nothing)
33+
# FILE_INCLUDE - include all file data into licenses text file
34+
# =======================
35+
36+
KEEP BSD-3-Clause 83708640dd0fc1b43741769410092f4b
37+
BELONGS ya.make
38+
Note: matched license text is too long. Read it in the source files.
39+
Scancode info:
40+
Original SPDX id: BSD-3-Clause
41+
Score : 99.07
42+
Match type : NOTICE
43+
Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause
44+
Files with this license:
45+
COPYING [7:29]
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
====================BSD-3-Clause====================
2+
Redistribution and use in source and binary forms, with or without
3+
modification, are permitted provided that the following conditions
4+
are met:
5+
6+
1. Redistributions of source code must retain the above copyright notice,
7+
this list of conditions and the following disclaimer.
8+
2. Redistributions in binary form must reproduce the above copyright notice,
9+
this list of conditions and the following disclaimer in the documentation
10+
and/or other materials provided with the distribution.
11+
3. Neither the name of the Snowball project nor the names of its contributors
12+
may be used to endorse or promote products derived from this software
13+
without specific prior written permission.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
19+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
22+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25+
26+
====================COPYRIGHT====================
27+
Copyright (c) 2001, Dr Martin Porter
28+
Copyright (c) 2004,2005, Richard Boulton
29+
Copyright (c) 2013, Yoshiki Shibukawa
30+
Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
31+
All rights reserved.

contrib/libs/snowball/COPYING

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Copyright (c) 2001, Dr Martin Porter
2+
Copyright (c) 2004,2005, Richard Boulton
3+
Copyright (c) 2013, Yoshiki Shibukawa
4+
Copyright (c) 2006,2007,2009,2010,2011,2014-2019, Olly Betts
5+
All rights reserved.
6+
7+
Redistribution and use in source and binary forms, with or without
8+
modification, are permitted provided that the following conditions
9+
are met:
10+
11+
1. Redistributions of source code must retain the above copyright notice,
12+
this list of conditions and the following disclaimer.
13+
2. Redistributions in binary form must reproduce the above copyright notice,
14+
this list of conditions and the following disclaimer in the documentation
15+
and/or other materials provided with the distribution.
16+
3. Neither the name of the Snowball project nor the names of its contributors
17+
may be used to endorse or promote products derived from this software
18+
without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
21+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
24+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
25+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
27+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
29+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

contrib/libs/snowball/MANIFEST

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
README.rst
2+
src_c/stem_ISO_8859_1_basque.c
3+
src_c/stem_ISO_8859_1_basque.h
4+
src_c/stem_ISO_8859_1_catalan.c
5+
src_c/stem_ISO_8859_1_catalan.h
6+
src_c/stem_ISO_8859_1_danish.c
7+
src_c/stem_ISO_8859_1_danish.h
8+
src_c/stem_ISO_8859_1_dutch.c
9+
src_c/stem_ISO_8859_1_dutch.h
10+
src_c/stem_ISO_8859_1_dutch_porter.c
11+
src_c/stem_ISO_8859_1_dutch_porter.h
12+
src_c/stem_ISO_8859_1_english.c
13+
src_c/stem_ISO_8859_1_english.h
14+
src_c/stem_ISO_8859_1_finnish.c
15+
src_c/stem_ISO_8859_1_finnish.h
16+
src_c/stem_ISO_8859_1_french.c
17+
src_c/stem_ISO_8859_1_french.h
18+
src_c/stem_ISO_8859_1_german.c
19+
src_c/stem_ISO_8859_1_german.h
20+
src_c/stem_ISO_8859_1_indonesian.c
21+
src_c/stem_ISO_8859_1_indonesian.h
22+
src_c/stem_ISO_8859_1_irish.c
23+
src_c/stem_ISO_8859_1_irish.h
24+
src_c/stem_ISO_8859_1_italian.c
25+
src_c/stem_ISO_8859_1_italian.h
26+
src_c/stem_ISO_8859_1_norwegian.c
27+
src_c/stem_ISO_8859_1_norwegian.h
28+
src_c/stem_ISO_8859_1_porter.c
29+
src_c/stem_ISO_8859_1_porter.h
30+
src_c/stem_ISO_8859_1_portuguese.c
31+
src_c/stem_ISO_8859_1_portuguese.h
32+
src_c/stem_ISO_8859_1_spanish.c
33+
src_c/stem_ISO_8859_1_spanish.h
34+
src_c/stem_ISO_8859_1_swedish.c
35+
src_c/stem_ISO_8859_1_swedish.h
36+
src_c/stem_ISO_8859_2_hungarian.c
37+
src_c/stem_ISO_8859_2_hungarian.h
38+
src_c/stem_KOI8_R_russian.c
39+
src_c/stem_KOI8_R_russian.h
40+
src_c/stem_UTF_8_arabic.c
41+
src_c/stem_UTF_8_arabic.h
42+
src_c/stem_UTF_8_armenian.c
43+
src_c/stem_UTF_8_armenian.h
44+
src_c/stem_UTF_8_basque.c
45+
src_c/stem_UTF_8_basque.h
46+
src_c/stem_UTF_8_catalan.c
47+
src_c/stem_UTF_8_catalan.h
48+
src_c/stem_UTF_8_danish.c
49+
src_c/stem_UTF_8_danish.h
50+
src_c/stem_UTF_8_dutch.c
51+
src_c/stem_UTF_8_dutch.h
52+
src_c/stem_UTF_8_dutch_porter.c
53+
src_c/stem_UTF_8_dutch_porter.h
54+
src_c/stem_UTF_8_english.c
55+
src_c/stem_UTF_8_english.h
56+
src_c/stem_UTF_8_esperanto.c
57+
src_c/stem_UTF_8_esperanto.h
58+
src_c/stem_UTF_8_estonian.c
59+
src_c/stem_UTF_8_estonian.h
60+
src_c/stem_UTF_8_finnish.c
61+
src_c/stem_UTF_8_finnish.h
62+
src_c/stem_UTF_8_french.c
63+
src_c/stem_UTF_8_french.h
64+
src_c/stem_UTF_8_german.c
65+
src_c/stem_UTF_8_german.h
66+
src_c/stem_UTF_8_greek.c
67+
src_c/stem_UTF_8_greek.h
68+
src_c/stem_UTF_8_hindi.c
69+
src_c/stem_UTF_8_hindi.h
70+
src_c/stem_UTF_8_hungarian.c
71+
src_c/stem_UTF_8_hungarian.h
72+
src_c/stem_UTF_8_indonesian.c
73+
src_c/stem_UTF_8_indonesian.h
74+
src_c/stem_UTF_8_irish.c
75+
src_c/stem_UTF_8_irish.h
76+
src_c/stem_UTF_8_italian.c
77+
src_c/stem_UTF_8_italian.h
78+
src_c/stem_UTF_8_lithuanian.c
79+
src_c/stem_UTF_8_lithuanian.h
80+
src_c/stem_UTF_8_nepali.c
81+
src_c/stem_UTF_8_nepali.h
82+
src_c/stem_UTF_8_norwegian.c
83+
src_c/stem_UTF_8_norwegian.h
84+
src_c/stem_UTF_8_porter.c
85+
src_c/stem_UTF_8_porter.h
86+
src_c/stem_UTF_8_portuguese.c
87+
src_c/stem_UTF_8_portuguese.h
88+
src_c/stem_UTF_8_romanian.c
89+
src_c/stem_UTF_8_romanian.h
90+
src_c/stem_UTF_8_russian.c
91+
src_c/stem_UTF_8_russian.h
92+
src_c/stem_UTF_8_serbian.c
93+
src_c/stem_UTF_8_serbian.h
94+
src_c/stem_UTF_8_spanish.c
95+
src_c/stem_UTF_8_spanish.h
96+
src_c/stem_UTF_8_swedish.c
97+
src_c/stem_UTF_8_swedish.h
98+
src_c/stem_UTF_8_tamil.c
99+
src_c/stem_UTF_8_tamil.h
100+
src_c/stem_UTF_8_turkish.c
101+
src_c/stem_UTF_8_turkish.h
102+
src_c/stem_UTF_8_yiddish.c
103+
src_c/stem_UTF_8_yiddish.h
104+
runtime/api.c
105+
runtime/api.h
106+
runtime/header.h
107+
runtime/utilities.c
108+
libstemmer/libstemmer.c
109+
libstemmer/libstemmer_utf8.c
110+
libstemmer/modules.h
111+
libstemmer/modules_utf8.h
112+
include/libstemmer.h

0 commit comments

Comments
 (0)