# stanford-parser を Homebrew, MacPorts でインストール

stanford-parser のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:stanford-parser
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install stanford-parser
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install stanford-parser
```

  証拠: MacPorts ports tree: textproc/stanford-parser/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:stanford-parser
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/stanford-parser>
- **バージョン:** 4.2.0
- **ソース概要:** Statistical NLP parser
- **ホームページ:** <https://nlp.stanford.edu/software/lex-parser.shtml>
- **上流ドキュメント:** <https://nlp.stanford.edu/software/lex-parser.shtml>
- **ライセンス:** GPL-2.0-or-later
- **ソースアーカイブ:** <https://nlp.stanford.edu/software/stanford-parser-4.2.0.zip>
- **最終更新:** 2026-06-22T14:06:23-07:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- lexparser-gui.sh (cli)
- lexparser-lang-train-test.sh (cli)
- lexparser-lang.sh (cli)
- lexparser.sh (cli)
- lexparser-gui.sh (エイリアス)
- lexparser-lang-train-test.sh (エイリアス)
- lexparser-lang.sh (エイリアス)
- lexparser.sh (エイリアス)

## 依存関係

- openjdk

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 4.2.0
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://nlp.stanford.edu/software/lex-parser.shtml
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

Stanford Parser is the Stanford NLP Group's Java parser package for constituency and dependency parsing. It is both a standalone distribution and part of the CoreNLP lineage.

### プロジェクトの歴史

The CoreNLP release history identifies Stanford Parser, released on 5 December 2002, as the earliest open-source software now comprising CoreNLP. The parser documentation says the original version was mainly written by Dan Klein, with support code and linguistic grammar development by Christopher Manning, followed by extensive contributions from other Stanford NLP researchers.

### 採用の歴史

The parser became widely packaged because it exposed statistical parsing models through a Java distribution, command-line scripts, GUI tooling, and language wrappers. The official parser page even notes Homebrew installation for OS X, reflecting its role as a standalone CLI package before and alongside the unified CoreNLP distribution.

### 使われ方

Users download the parser distribution and language models, then run parser scripts or Java classes to produce phrase-structure and dependency parses. The package includes PCFG, lexicalized dependency, lexicalized PCFG, shift-reduce, and neural dependency parser components depending on distribution and model selection.

### パッケージ好きにとっての重要性

Package maintainers care about Stanford Parser because it represents the classic heavy NLP CLI package: model jars, Java launch scripts, language-specific assets, and optional GUI behavior. A system package makes it easier to call from shell scripts and wrapper libraries without manually assembling each release.

### タイムライン

- 2002: Stanford Parser is released as open-source software.
- 2003: Klein and Manning publish the cited ACL paper for accurate unlexicalized parsing.
- 2014: Parser releases add shift-reduce and dependency improvements in the CoreNLP-era tooling.
- 2020: Standalone parser 4.2.0 retrains English models with treebank fixes.

### Related projects

- Stanford Parser is related to CoreNLP, Stanford POS Tagger, Stanford NER, shift-reduce constituency parsing, neural dependency parsing, Tregex/Tsurgeon, and language wrappers for Java, PHP, Python/Jython, Ruby, and .NET.

### ソース

- <https://nlp.stanford.edu/software/lex-parser.shtml: Stanford parser software page with download, release history, wrappers, and Homebrew note.>
- <https://stanfordnlp.github.io/CoreNLP/history.html: official release history naming Stanford Parser as the 2002 origin.>
- <https://stanfordnlp.github.io/CoreNLP/tools_lex_parser.html: official parser overview, package contents, authorship, and parser variants.>


## セキュリティノート

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:** stanford-parser
- **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

## 他のパッケージマネージャ記録

- MacPorts - stanford-parser: normalized package name match | MacPorts ports tree: textproc/stanford-parser/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openjdk](https://pkg.so/ja/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [stanford-ner](https://pkg.so/ja/brew/stanford-ner/) - Shares pkgdb curated category or tags: cli, data, java, nlp, stanford-nlp.
- [stanford-corenlp](https://pkg.so/ja/brew/stanford-corenlp/) - Shares pkgdb curated category or tags: cli, data, java, nlp.
- [xerces-c](https://pkg.so/ja/brew/xerces-c/) - Shares pkgdb curated category or tags: cli, data, parser.
- [kafka](https://pkg.so/ja/brew/kafka/) - Shares pkgdb curated category or tags: cli, data, java.
- [mecab](https://pkg.so/ja/brew/mecab/) - Shares pkgdb curated category or tags: cli, data, nlp.
- [neo4j](https://pkg.so/ja/brew/neo4j/) - Shares pkgdb curated category or tags: cli, data, java.
- [parquet-cli](https://pkg.so/ja/brew/parquet-cli/) - Shares pkgdb curated category or tags: cli, data, java.
- [avro-tools](https://pkg.so/ja/brew/avro-tools/) - Shares pkgdb curated category or tags: cli, data, java.

## Combined YAML source

View the package source record on GitHub. [combined/stanford-parser.yml](https://github.com/mxcl/pkgdb/blob/main/combined/stanford-parser.yml)


## ソース

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