/Canary-1

A Simple Argument Mining Library

Primary LanguagePythonMIT LicenseMIT

Canary

Canary should be considered pre-alpha softeware at present. It's an indicator of the direction we're heading in.

Canary is a Python library for Argument Mining. Argument Mining is the automated identifcation and extraction of argumentative data from natural language sources such as text files.

The initial aim is to provide a novel implementation of an Argument Mining tool that someone is able to run on their own data set in order to find patterns or to extract argumentative structure from their data.

Getting Started

To download and gain access to Canary run:

Eventually there will be a pip capable install along the following lines:

pip install Canary-am

but for the moment we'll build and use Canary from source until we have a sufficiently robust and feature rich release candidate.

Example

Basic example showing the extraction of Argumentative Components from a local file:

from canary import local

components = canary.Local(file)

print(components[1])

# Output
['hence it is always said that competition makes the society more effective.', 'therefore without the cooperation, there would be no victory of competition.']