-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
57,411 additions
and
216,916 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Git repository | ||
.git/ | ||
|
||
# Source files | ||
src/ | ||
|
||
# Scripts | ||
script/ | ||
|
||
# Documentation | ||
*.md | ||
*.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
sudo: required | ||
|
||
language: bash | ||
|
||
services: | ||
- docker | ||
|
||
env: | ||
- ES_VERSION=5.4 | ||
- ES_VERSION=2.4 | ||
- ES_VERSION=1.7 | ||
|
||
before_install: | ||
# Install the latest version of Docker | ||
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | ||
- sudo add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) edge" | ||
- sudo apt-get update -qq | ||
- sudo apt-get purge -y docker-engine | ||
- sudo apt-get install -y docker-ce | ||
|
||
install: | ||
# Build and package the dictionary before testing | ||
- script/build.sh | ||
|
||
# Build the Docker image that we're going to use for testing | ||
- docker build --build-arg ES_VERSION=${ES_VERSION} -t ${TRAVIS_REPO_SLUG} . | ||
|
||
before_script: docker run -d -p 127.0.0.1:9200:9200 ${TRAVIS_REPO_SLUG} | ||
|
||
script: | ||
# Wait for Elasticsearch to start accepting incoming connections | ||
- wget --retry-connrefused --tries=30 --wait=1 --spider --quiet http://127.0.0.1:9200/ | ||
|
||
# Start testing! | ||
- script/test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Changelog | ||
|
||
## Release v2.0.0 | ||
|
||
* Added Bash scripts to automate future dictionary building, testing and updating. | ||
* Set up the [Travis CI](https://travis-ci.org/) build server to test dictionary integrations with Elasticsearch 1.7, 2.4 and 5.4 versions. | ||
* The dictionary is now sourced from the [krunose/hr-hunspell](https://github.com/krunose/hr-hunspell) repository. | ||
|
||
## Release v1.0.0 | ||
|
||
* This is the initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ARG ES_VERSION=latest | ||
|
||
FROM elasticsearch:${ES_VERSION} | ||
MAINTAINER Petar Obradović <[email protected]> | ||
|
||
COPY .build/package.zip /tmp/package.zip | ||
|
||
RUN mkdir -p /usr/share/elasticsearch/config/hunspell/hr_HR && \ | ||
unzip -d /usr/share/elasticsearch/config/hunspell/hr_HR /tmp/package.zip && \ | ||
rm /tmp/package.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,22 @@ | ||
Husnpellov rječnik za računalnu provjeru pravopisa hrvatskog jezika | ||
# Husnpellov rječnik za računalnu provjeru pravopisa hrvatskog jezika | ||
|
||
Ovaj je rječnik nadopuna i nadogradnja rječnika D. L. iz 2003. g. [1] | ||
|
||
Language: Croatian (hr HR). | ||
License: LGPL/SISSL license, 2016 | ||
Author: k r u n o . s e [ a t ] g m x . c o m (Kruno) | ||
GPL 2.0/LGPL 2.1/MPL 1.1 tri-license | ||
|
||
----- | ||
|
||
Language: Croatian (hr HR). | ||
License: LGPL/SISSL license, 2003 | ||
Author: d e l a c k o [ a t ] l i n u x . h r (Denis Lackovic) | ||
repository: https://www.github.com/krunose/hr-hunspell | ||
|
||
----- | ||
|
||
[1] http://cvs.linux.hr/spell/ | ||
### Autori i doprinositelji ### | ||
|
||
Mirko Kos (m i r k o s 9 9 [ a t ] g m a i l . c o m), 2016. - 2017. | ||
|
||
----- | ||
|
||
Krunoslav Šebetić (k r u n o . s e [ a t ] g m x . c o m), 2014. - 2017. | ||
|
||
----- | ||
|
||
Denis Lackovic (http://cvs.linux.hr/spell/), 2003. |
Oops, something went wrong.