Skip to main content

Pyramids Parser: English Language Semantic Extraction

Project description

English Language Semantic Extraction

Copyright (c) Aaron Hosford 2011-2015

Available under the MIT License

Pyramids gets its name from the way it constructs parse trees, working upwards from the leaves towards the root, building up layers of progressively smaller size but greater scope. It is a rule-based natural language parser, tailored specifically for English, which builds multiple competing parses for a sentence from the bottom up using principles of dynamic programming. The parses are then scored for quality and presented in order of descending rank. The parser is also capable of accepting feedback as to which parses are or are not acceptable, adaptively adjusting its scoring measures to improve future parse quality and ranking. Parses are returned as trees but can also be used to generate graphs representing the semantic relationships between words. The syntactic rules of the parser can also be run in reverse to generate sentences from semantic graphs resembling those it produces.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyramids-0.0.1.zip (378.8 kB view hashes)

Uploaded Source

Built Distribution

pyramids-0.0.1-py3-none-any.whl (423.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page