# 使用 Homebrew, apt, zypper 安装 apache-opennlp

查看 apache-opennlp 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:apache-opennlp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install apache-opennlp
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install libapache-opennlp-java
```

  证据: Debian stable package indexes: libapache-opennlp-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install opennlp
```

  证据: openSUSE Tumbleweed package metadata: opennlp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:apache-opennlp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/apache-opennlp>
- **版本:** 2.5.10
- **来源摘要:** Machine learning toolkit for processing natural language text
- **主页:** <https://opennlp.apache.org/>
- **仓库:** <https://github.com/apache/opennlp>
- **上游文档:** <https://opennlp.apache.org/docs>
- **许可证:** Apache-2.0
- **源码归档:** <https://www.apache.org/dyn/closer.lua?path=opennlp/opennlp-2.5.10/apache-opennlp-2.5.10-bin.tar.gz>
- **最后更新:** 2026-06-25T07:59:23Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- opennlp (cli)
- opennlp (别名)

## 依赖

- openjdk

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.5.10
- 管理器更新时间: 2026-06-25
- 本地数据: OK
- 上游仓库: https://opennlp.apache.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Apache OpenNLP is a Java machine-learning toolkit and command-line suite for natural-language processing tasks such as sentence detection, tokenization, part-of-speech tagging, named-entity extraction, chunking, parsing, language detection, and coreference resolution.

### 项目历史

OpenNLP existed before Apache incubation, with current Apache pages still pointing to archived SourceForge releases and model resources. The project entered the Apache Incubator in November 2010 and graduated as an Apache top-level project on 2012-02-15.

The incubation record describes the project goal as creating a mature toolkit for common NLP tasks and providing pre-built models for multiple languages. The Apache-era project continued to ship both a Java API and a common opennlp command-line entry point.

### 采用历史

OpenNLP's adoption is strongest in Java and JVM text-processing pipelines where developers want a conventional library and CLI for classic NLP rather than a server or hosted model. Its old SourceForge model archive and Apache manual both show the long-running package culture around downloading binary models, running trainers, and wiring the toolkit into UIMA or custom applications.

As newer deep-learning NLP stacks arrived, OpenNLP remained relevant for lightweight, inspectable, trainable components and for organizations with Java pipelines that need sentence splitting, tokenization, tagging, NER, and parser tools without adopting a Python-heavy stack.

### 使用方式

The Homebrew package exposes the opennlp command. Apache's manual says the binary distribution includes an opennlp script for Linux-compatible systems and opennlp.bat for Windows, with OPENNLP_HOME and PATH used to make the tools convenient.

Typical CLI usage invokes a tool name plus a model, reading from stdin and writing to stdout, or runs trainer commands with model output, language, training data, encoding, and task-specific options. That makes the package friendly for shell pipelines and repeatable model-training experiments.

### 为什么软件包爱好者会关心

OpenNLP is appealing to package nerds because it is a Java NLP library with a real Unix-style CLI surface. You can install it, fetch or provide models, pipe text through tokenizers or taggers, and train task-specific models without building an application first.

It also carries a visible history of pre-Apache open-source distribution: SourceForge-era releases and models, Apache incubation, Maven artifacts, and a CLI that still exposes the toolkit as a collection of small named NLP tools.

### 时间线

- 2010: OpenNLP enters the Apache Incubator.
- 2011: Apache OpenNLP 1.5.2-incubating is released.
- 2012: OpenNLP graduates as an Apache top-level project.
- 2026: Apache documentation lists current 2.x and 3.x milestone manuals and Javadocs.

### Related projects

- Apache UIMA is an adjacent Java text-analysis framework with documented OpenNLP integration.
- SourceForge-era OpenNLP models, Maven Central artifacts, ONNX Runtime support, and Java NLP pipelines are common adjacent pieces.

### 来源

- <https://incubator.apache.org/projects/opennlp.html>
- <https://opennlp.apache.org/docs/2.5.4/manual/opennlp.html>
- <https://opennlp.apache.org/download.html>
- <https://opennlp.apache.org/models.html>
- <https://opennlp.apache.org/news/news-2010-11-23.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** apache-opennlp
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - libapache-opennlp-java - 2.5.3-1: normalized package name match | Debian stable package indexes: libapache-opennlp-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | machine learning based toolkit for the processing of natural language text | https://opennlp.apache.org
- Debian apt - opennlp - 2.5.3-1: normalized package name match | Debian stable package indexes: opennlp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | wrapper for Apache OpenNLP natural language text processing toolkit | https://opennlp.apache.org
- Ubuntu apt - libapache-opennlp-java - 2.3.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libapache-opennlp-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | machine learning based toolkit for the processing of natural language text | https://opennlp.apache.org
- Ubuntu apt - opennlp - 2.3.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: opennlp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | wrapper for Apache OpenNLP natural language text processing toolkit | https://opennlp.apache.org
- zypper - opennlp - 1.5.3-4.9: installed executable or alias match | openSUSE Tumbleweed package metadata: opennlp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A machine learning based toolkit for the processing of natural language text | https://opennlp.apache.org/
- zypper - opennlp-maxent - 1.5.3-4.9: installed executable or alias match | openSUSE Tumbleweed package metadata: opennlp-maxent from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Apache OpenNLP Maxent | https://opennlp.apache.org/
- zypper - opennlp-tools - 1.5.3-4.9: installed executable or alias match | openSUSE Tumbleweed package metadata: opennlp-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Apache OpenNLP Tools | https://opennlp.apache.org/
- zypper - opennlp-uima - 1.5.3-4.9: installed executable or alias match | openSUSE Tumbleweed package metadata: opennlp-uima from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Apache OpenNLP UIMA Annotators | https://opennlp.apache.org/


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk](https://www.automicvault.com/zh-hans/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [ant](https://www.automicvault.com/zh-hans/pkg/brew/ant/) - Shares av.db curated category or tags: apache, cli, developer-tools, java.
- [crf++](https://www.automicvault.com/zh-hans/pkg/brew/crf/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning, nlp.
- [grails](https://www.automicvault.com/zh-hans/pkg/brew/grails/) - Shares av.db curated category or tags: apache, cli, developer-tools, java.
- [jmeter](https://www.automicvault.com/zh-hans/pkg/brew/jmeter/) - Shares av.db curated category or tags: apache, cli, developer-tools, java.
- [text-embeddings-inference](https://www.automicvault.com/zh-hans/pkg/brew/text-embeddings-inference/) - Shares av.db curated category or tags: cli, developer-tools, machine-learning, nlp.
- [amdatu-bootstrap](https://www.automicvault.com/zh-hans/pkg/brew/amdatu-bootstrap/) - Shares av.db curated category or tags: cli, developer-tools, java.
- [antlr](https://www.automicvault.com/zh-hans/pkg/brew/antlr/) - Shares av.db curated category or tags: cli, developer-tools, java.
- [apr](https://www.automicvault.com/zh-hans/pkg/brew/apr/) - Shares av.db curated category or tags: apache, cli, developer-tools.
- [calabash](https://www.automicvault.com/zh-hans/pkg/brew/calabash/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, java, language.
- [fmpp](https://www.automicvault.com/zh-hans/pkg/brew/fmpp/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, java, openjdk.

## Combined YAML source

View the package source record on GitHub. [combined/apache-opennlp.yml](https://github.com/automic-vault/db/blob/main/combined/apache-opennlp.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
