### Install LanguageTool with Options
Source: https://github.com/languagetool-org/languagetool/blob/master/README.md
Installs LanguageTool using a script. Use options to customize the installation process, such as building from development copies or specifying post-installation commands.
```sh
#!/usr/bin/env sh
curl -L https://raw.githubusercontent.com/languagetool-org/languagetool/master/install.sh | sudo bash $options
```
--------------------------------
### Start LanguageTool HTTP Server from Command Line
Source: https://context7.com/languagetool-org/languagetool/llms.txt
This command-line instruction starts the LanguageTool HTTP server using a configuration file, specifying the port and enabling public access. This is an alternative to programmatic startup.
```sh
# Or from the command line (after building the standalone package):
java -jar languagetool-server.jar \
--config server.properties \
--port 8081 \
--public
```
--------------------------------
### Install Maven for Rosetta on Mac M1/M2
Source: https://github.com/languagetool-org/languagetool/blob/master/README.md
Installs Apache Maven using Homebrew under Rosetta, necessary for building LanguageTool on Mac M1/M2.
```sh
#!/usr/bin/env sh
arch -x86_64 brew install maven
```
--------------------------------
### Start Embedded HTTP Server with Public Access
Source: https://github.com/languagetool-org/languagetool/blob/master/languagetool-standalone/CHANGES.txt
Starts the embedded HTTP server, allowing access from any network interface. Use with caution as it's not recommended for production.
```bash
java -cp LanguageTool.jar org.languagetool.server.HTTPServer --public
```
--------------------------------
### English Partial POS Tag Filter Example
Source: https://github.com/languagetool-org/languagetool/blob/master/languagetool-standalone/CHANGES.txt
This example demonstrates a new filter for matching the part-of-speech of parts of words in English. It keeps matches for words starting with 'in' where the subsequent part is an adjective (POS tag 'JJ'). 'no:1' refers to the first token.
```xml
in.*
```
--------------------------------
### LanguageTool Installer Usage
Source: https://github.com/languagetool-org/languagetool/blob/master/README.md
Provides detailed usage instructions for the LanguageTool installation script. Options include specifying build flags, post-installation commands, quiet mode, text files for spellchecking, clone depth, package selection, OS override, license acceptance, and removal options.
```bash
sudo bash install.sh
Usage: install.sh