LanguageToolは、英語、スペイン語、フランス語、ドイツ語、ポルトガル語、ポーランド語、オランダ語、および20を超える他の言語向けのオープンソース校正ソフトウェアです。単純なスペルチェッカーが検出できない多くのエラーが見つかります。
詳細については、https://languageTool.orgのホームページ、このreadme、および変更をご覧ください。
Languagetoolコア(このレポ)は、LGPL 2.1以降で自由に利用できます。
コミュニティが制定したDockerファイルについては、次のプロジェクトのいずれかを試してください。
開発の概要では、エラー検出ルールを提供する方法について説明します。
詳細については、DEVページを参照してください。
スクリプトを使用してインストールまたはビルドするには、次のように入力するだけです。
curl -L https://raw.githubusercontent.com/languagetool-org/languagetool/master/install.sh | sudo bash < options >
より多くのオプションが必要な場合は、 install.sh
スクリプトをダウンロードしてください。使用オプションは次のとおりです。
sudo bash install.sh < options >
Usage: install.sh < option > < package >
Options:
-h --help Show help
-b --build Builds packages from the bleeding edge development copy of LanguageTool
-c --command < command > Specifies post-installation command to run (default gui when screen is detected)
-q --quiet Shut up LanguageTool installer ! Only tell me important stuff !
-t --text < file > Specifies what text to be spellchecked by LanguageTool command line (default spellcheck.txt)
-d --depth < value > Specifies the depth to clone when building LanguageTool yourself (default 1).
-p --package < package > Specifies package to install when building (default all)
-o --override < OS > Override automatic OS detection with < OS >
-a --accept Accept the oracle license at http://java.com/license. Only run this if you have seen the license and agree to its terms !
-r --remove < all/partial > Removes LanguageTool install. < all > uninstalls the dependencies that were auto-installed. (default partial)
Packages(only if -b is specified):
standalone Installs standalone package
wikipedia Installs Wikipedia package
office-extension Installs the LibreOffice/OpenOffice extension package
Commands:
GUI Runs GUI version of LanguageTool
commandline Runs command line version of LanguageTool
server Runs server version of LanguageTool
開始前:GitHubからクローンを作成し、Java 8とApache Mavenをインストールする必要があります。
警告:完全なクローンでは、500 MB以上をダウンロードする必要があり、ディスクに1500 MB以上が必要です。これは、浅いクローンを作成することにより、マスターブランチの最後の数回の改訂版のみが必要な場合に減らすことができます。
git clone --depth 5 https://github.com/languagetool-org/languagetool.git
浅いクローンは60 MB未満でダウンロードされ、ディスクには200 MB未満のダウンロードが必要です。
ルートプロジェクトフォルダーで、実行します。
mvn clean test
(繰り返しビルドのためにMavenステップをスキップできることがあります)
./build.sh languagetool-standalone package -DskipTests
結果をテストしてくださいlanguagetool-standalone/target/
。
./build.sh languagetool-wikipedia package -DskipTests
languagetool-wikipedia/target
で結果をテストします。
これで、Languagetool *.jar
ファイルの出血エッジ開発コピーを使用して、回帰が含まれている可能性があることに注意してください。
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
arch -x86_64 brew install openjdk
arch -x86_64 brew install maven
インストールします特に明記しない限り、このソフトウェア(Languagetool Core)はLGPLの下に配布されています。ファイルCopying.txtを参照してください。