changed stuff with languagetool
This commit is contained in:
		| @@ -248,7 +248,7 @@ If you are reading this it looks like you are looking to add an egg to your serv | |||||||
| * [Grafana](/software/grafana) | * [Grafana](/software/grafana) | ||||||
| ### haste-server | ### haste-server | ||||||
| * [haste-server](/software/haste-server) | * [haste-server](/software/haste-server) | ||||||
|  | ### LanguageTool | ||||||
|  | * [languagetool](/software/languagetool) | ||||||
| ### RabbitMQ | ### RabbitMQ | ||||||
| * [rabbitmq](/software/rabbitmq) | * [rabbitmq](/software/rabbitmq) | ||||||
| ### Language-Tool |  | ||||||
| * [languagetool](/software/language-tool) |  | ||||||
|   | |||||||
| @@ -1,39 +0,0 @@ | |||||||
| { |  | ||||||
|   "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", |  | ||||||
|   "meta": { |  | ||||||
|     "version": "PTDL_v1", |  | ||||||
|     "update_url": null |  | ||||||
|   }, |  | ||||||
|   "exported_at": "2021-09-19T10:46:15+02:00", |  | ||||||
|   "name": "Languagetool", |  | ||||||
|   "author": "thomasruhl@live.de", |  | ||||||
|   "description": "This egg installs a LanguageTool server\r\n\r\nLanguageTool is an Open Source proofreading software for English, French, German, Polish, Russian, and more than 20 other languages. It finds many errors that a simple spell checker cannot detect.\r\n\r\nView https://languagetool.org for more information.", |  | ||||||
|   "features": null, |  | ||||||
|   "images": ["ghcr.io/software-noob/pterodactyl-images:java_8"], |  | ||||||
|   "file_denylist": [], |  | ||||||
|   "startup": "java -cp languagetool-server.jar org.languagetool.server.HTTPServer --port {{SERVER_PORT}} --allow-origin \\\"*\\\" --public --config config.properties", |  | ||||||
|   "config": { |  | ||||||
|     "files": "{\r\n    \"config.properties\": {\r\n        \"parser\": \"properties\",\r\n        \"find\": {\r\n            \"languageModel\": \"models/\"\r\n        }\r\n    }\r\n}", |  | ||||||
|     "startup": "{\r\n    \"done\": \"Server started\"\r\n}", |  | ||||||
|     "logs": "{}", |  | ||||||
|     "stop": "^C" |  | ||||||
|   }, |  | ||||||
|   "scripts": { |  | ||||||
|     "installation": { |  | ||||||
|       "script": "#!/bin/ash\r\napk add --no-cache unzip # to make shure the unzipper is working properly\r\nmkdir -p /mnt/server\r\nmkdir -p /mnt/server/models\r\ncd /mnt/server\r\ntouch config.properties\r\nMODEL_URL=\"https://languagetool.org/download/ngram-data/\"\r\n\r\nDATAS=\"ngrams-de-20150819.zip ngrams-en-20150817.zip ngrams-es-20150915.zip ngrams-fr-20150913.zip ngrams-nl-20181229.zip\"\r\n\r\necho downloading models\r\n\r\n\r\nfor i in $TRAIN_MODELS; do\r\nfor d in $DATAS; do\r\n    if [[ $d =~ $i ]]; then\r\n        DOWNLOAD_LINK=\"$MODEL_URL$d\"\r\n        echo \"downloading $DOWNLOAD_LINK\"\r\n        echo \"this could take some while\"\r\n        curl $DOWNLOAD_LINK --output models/$d\r\n        cd models/\r\n        echo \"unziping $d\"\r\n        unzip $d\r\n        rm $d\r\n        cd /mnt/server\r\n    fi\r\n\r\n    done\r\n\r\ndone\r\ncurl https://languagetool.org/download/LanguageTool-stable.zip --output download.zip\r\necho unziping\r\nunzip download.zip\r\necho moving files\r\nmv LanguageTool-*/* .\r\n\r\nrm -rf LanguageTool-*\r\nrm download.zip -rf\r\necho Finished install", |  | ||||||
|       "container": "ghcr.io/pterodactyl/installers:alpine", |  | ||||||
|       "entrypoint": "ash" |  | ||||||
|     } |  | ||||||
|   }, |  | ||||||
|   "variables": [ |  | ||||||
|     { |  | ||||||
|       "name": "Include traindata", |  | ||||||
|       "description": "WARNING!! This take up a lot of disk space. You have being warned.\r\nNothing = none.\r\nSeparate by spaces.\r\nCurrent language codes= \"de en es fr nl\" (15.09.2021 dd/mm/yyyyy)", |  | ||||||
|       "env_variable": "TRAIN_MODELS", |  | ||||||
|       "default_value": "none", |  | ||||||
|       "user_viewable": true, |  | ||||||
|       "user_editable": true, |  | ||||||
|       "rules": "string" |  | ||||||
|     } |  | ||||||
|   ] |  | ||||||
| } |  | ||||||
| @@ -1,4 +1,4 @@ | |||||||
| # Language-Tool | # LanguageTool | ||||||
| 
 | 
 | ||||||
| LanguageTool is an Open Source proofreading software for English, French, German, Polish, Russian, [and more than 20 other languages](https://languagetool.org/languages/). It finds many errors that a simple spell checker cannot detect. | LanguageTool is an Open Source proofreading software for English, French, German, Polish, Russian, [and more than 20 other languages](https://languagetool.org/languages/). It finds many errors that a simple spell checker cannot detect. | ||||||
| 
 | 
 | ||||||
							
								
								
									
										41
									
								
								software/languagetool/egg-languagetool.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								software/languagetool/egg-languagetool.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | |||||||
|  | { | ||||||
|  |     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||||
|  |     "meta": { | ||||||
|  |         "version": "PTDL_v1", | ||||||
|  |         "update_url": null | ||||||
|  |     }, | ||||||
|  |     "exported_at": "2021-09-20T17:08:06+02:00", | ||||||
|  |     "name": "Languagetool", | ||||||
|  |     "author": "thomasruhl@live.de", | ||||||
|  |     "description": "This egg installs a LanguageTool server\r\n\r\nLanguageTool is an Open Source proofreading software for English, French, German, Polish, Russian, and more than 20 other languages. It finds many errors that a simple spell checker cannot detect.\r\n\r\nView https:\/\/languagetool.org for more information.", | ||||||
|  |     "features": null, | ||||||
|  |     "images": [ | ||||||
|  |         "ghcr.io\/pterodactyl\/yolks:java_8" | ||||||
|  |     ], | ||||||
|  |     "file_denylist": [], | ||||||
|  |     "startup": "java -cp languagetool-server.jar org.languagetool.server.HTTPServer --port {{SERVER_PORT}} --allow-origin \\\"*\\\" --public --config config.properties", | ||||||
|  |     "config": { | ||||||
|  |         "files": "{\r\n    \"config.properties\": {\r\n        \"parser\": \"properties\",\r\n        \"find\": {\r\n            \"languageModel\": \"models\/\"\r\n        }\r\n    }\r\n}", | ||||||
|  |         "startup": "{\r\n    \"done\": \"Server started\"\r\n}", | ||||||
|  |         "logs": "{}", | ||||||
|  |         "stop": "^C" | ||||||
|  |     }, | ||||||
|  |     "scripts": { | ||||||
|  |         "installation": { | ||||||
|  |             "script": "#!\/bin\/ash\r\napk add --no-cache unzip # to make shure the unzipper is working properly\r\nmkdir -p \/mnt\/server\r\nmkdir -p \/mnt\/server\/models\r\ncd \/mnt\/server\r\ntouch config.properties\r\nMODEL_URL=\"https:\/\/languagetool.org\/download\/ngram-data\"\r\n\r\necho downloading models\r\n\r\ncd models\/\r\nfor i in $TRAIN_MODELS; do\r\n    DOWNLOAD_LINK=\"$MODEL_URL\/ngrams-$i.zip\"\r\n    echo \"downloading $DOWNLOAD_LINK\"\r\n    echo \"this could take some while\"\r\n    curl $DOWNLOAD_LINK --output $i.zip\r\n    echo \"unziping $i.zip\"\r\n    unzip $i.zip\r\n    rm $i.zip\r\ndone\r\ncd \/mnt\/server\r\n\r\ncurl https:\/\/languagetool.org\/download\/LanguageTool-stable.zip --output download.zip\r\necho unziping\r\nunzip download.zip\r\necho moving files\r\n\r\ncp -r LanguageTool-*\/* .\r\n\r\nrm -rf LanguageTool-*\r\nrm download.zip -rf\r\necho Finished install", | ||||||
|  |             "container": "ghcr.io\/pterodactyl\/installers:alpine", | ||||||
|  |             "entrypoint": "ash" | ||||||
|  |         } | ||||||
|  |     }, | ||||||
|  |     "variables": [ | ||||||
|  |         { | ||||||
|  |             "name": "Include traindata", | ||||||
|  |             "description": "This takes up a lot of disk space.\r\n\r\nSeparate each value with spaces. For example, \"de-20150819 en-20150817\"\r\n\r\nView all available models at https:\/\/languagetool.org\/download\/ngram-data\/", | ||||||
|  |             "env_variable": "TRAIN_MODELS", | ||||||
|  |             "default_value": "", | ||||||
|  |             "user_viewable": true, | ||||||
|  |             "user_editable": true, | ||||||
|  |             "rules": "nullable|string" | ||||||
|  |         } | ||||||
|  |     ] | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user