Automic VaultAutomic Vault

brew

Install stanford-parser with Homebrew, MacPorts

Statistical NLP parser. Version 4.2.0 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install stanford-parser

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install stanford-parser

MacPorts ports tree · textproc/stanford-parser/Portfile · source: api.github.com

overview

Package summary

Statistical NLP parser

Commands and aliases

  • lexparser-gui.sh
  • lexparser-lang-train-test.sh
  • lexparser-lang.sh
  • lexparser.sh

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
lexparser-gui.shcliglobal executable
lexparser-lang-train-test.shcliglobal executable
lexparser-lang.shcliglobal executable
lexparser.shcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version4.2.0
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://nlp.stanford.edu/software/lex-parser.shtml

install metadata

Package metadata

Package keybrew:stanford-parser
Version4.2.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/stanford-parser
Homepagehttps://nlp.stanford.edu/software/lex-parser.shtml
Repositoryhttps://github.com/stanfordnlp/CoreNLP
Upstream docshttps://nlp.stanford.edu/software/lex-parser.shtml
LicenseGPL-2.0-or-later
Source archivehttps://nlp.stanford.edu/software/stanford-parser-4.2.0.zip
Last updated2026-06-22T14:06:23-07:00
Pulseupdated
Dependenciesopenjdk
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namestanford-parser
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts95%

stanford-parser

sudo port install stanford-parser
  • normalized package name match
  • Matched by: Stanford Parser
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/stanford-parser/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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