Skip to content

Commit b480a61

Browse files
adds japanese language support (#192)
1 parent b0c92a7 commit b480a61

File tree

4 files changed

+26
-7
lines changed

4 files changed

+26
-7
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ FROM kernai/refinery-parent-images:v1.13.0-common
33
WORKDIR /app
44

55
# used for encryption and zipping of files
6-
RUN apt-get update && apt-get install -y libc6-dev zlib1g gcc --no-install-recommends
6+
RUN apt-get update && apt-get install -y curl libc6-dev zlib1g gcc --no-install-recommends
7+
8+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
9+
10+
ENV PATH="/root/.cargo/bin:${PATH}"
711

812
COPY requirements.txt .
913

dev.Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ WORKDIR /app
55
VOLUME ["/app"]
66

77
# used for encryption and zipping of files
8-
RUN apt-get update && apt-get install -y libc6-dev zlib1g gcc --no-install-recommends
8+
RUN apt-get update && apt-get install -y curl libc6-dev zlib1g gcc --no-install-recommends
9+
10+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
11+
12+
ENV PATH="/root/.cargo/bin:${PATH}"
913

1014
COPY requirements.txt .
1115

requirements.txt

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
2-
# This file is autogenerated by pip-compile with python 3.9
3-
# To update, run:
2+
# This file is autogenerated by pip-compile with Python 3.9
3+
# by the following command:
44
#
55
# pip-compile --output-file=requirements.txt requirements/requirements.in
66
#
@@ -100,6 +100,7 @@ murmurhash==1.0.9
100100
numpy==1.23.4
101101
# via
102102
# -r requirements/common-requirements.txt
103+
# blis
103104
# pandas
104105
# spacy
105106
# thinc
@@ -127,6 +128,7 @@ pycryptodome==3.18.0
127128
pydantic==1.10.8
128129
# via
129130
# -r requirements/common-requirements.txt
131+
# confection
130132
# spacy
131133
# thinc
132134
pyjwt==2.4.0
@@ -175,8 +177,10 @@ sniffio==1.3.0
175177
# via
176178
# -r requirements/common-requirements.txt
177179
# anyio
178-
spacy==3.4.2
179-
# via -r requirements/requirements.in
180+
spacy[ja]==3.4.2
181+
# via
182+
# -r requirements/requirements.in
183+
# spacy
180184
spacy-legacy==3.0.10
181185
# via spacy
182186
spacy-loggers==1.0.3
@@ -188,10 +192,17 @@ sqlalchemy==1.4.42
188192
# graphene-sqlalchemy
189193
srsly==2.4.5
190194
# via
195+
# confection
191196
# spacy
192197
# thinc
193198
starlette==0.14.1
194199
# via -r requirements/requirements.in
200+
sudachidict-core==20240109
201+
# via spacy
202+
sudachipy==0.6.8
203+
# via
204+
# spacy
205+
# sudachidict-core
195206
thinc==8.1.5
196207
# via spacy
197208
tqdm==4.64.1

requirements/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ graphene_sqlalchemy==2.3.0
99
graphql-core==2.3.2
1010
openpyxl==3.0.10
1111
pyjwt==2.4.0
12-
spacy==3.4.2
12+
spacy[ja]==3.4.2
1313
starlette==0.14.1
1414
pyminizip==0.2.6
1515
rncryptor==3.3.0

0 commit comments

Comments
 (0)