Incipit.LogosLink.ArgumentationEngine 2.0.0.2

dotnet add package Incipit.LogosLink.ArgumentationEngine --version 2.0.0.2                
NuGet\Install-Package Incipit.LogosLink.ArgumentationEngine -Version 2.0.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Incipit.LogosLink.ArgumentationEngine" Version="2.0.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Incipit.LogosLink.ArgumentationEngine --version 2.0.0.2                
#r "nuget: Incipit.LogosLink.ArgumentationEngine, 2.0.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Incipit.LogosLink.ArgumentationEngine as a Cake Addin
#addin nuget:?package=Incipit.LogosLink.ArgumentationEngine&version=2.0.0.2

// Install Incipit.LogosLink.ArgumentationEngine as a Cake Tool
#tool nuget:?package=Incipit.LogosLink.ArgumentationEngine&version=2.0.0.2                

Introduction

Thank you for downloading this LogosLink package.

LogosLink is a set of tools for discourse analysis, as described in www.iatml.org. You can use LogosLink as an interactive desktop app or by adding the relevant packages to your project.

This is the Incipit.LogosLink.ArgumentationModel package, which contains types to manage argumentation models in terms of their locutions, transitions, proposition, inferences, etc.

How to Get Started

Once you have added this package to your project, you can create argumentation models, load and save them from disk, and run multiple analytics on them.

Use the ArgumentationModel and ArgumentationModelPersister classes to create, load and save argumentation models. Use the different classes under the Incipit.LogosLink.ArgumentationModelEngine.Analytics namespace to run analytics on an argumentation model.

Additional Documentation

Please see the LogosLink Programmer's Guide for complete documentation.

Samples

You can create a new argumentation model like this:

var arm = new ArgumentationModel("Test", "YourUserName");
arm.TextContent.Text = "Today I'm happy because it's sunny.";

Then, you can add, edit and delete argumentation model elements like this:

//add a speaker.
var sp = arm.AddNewSpeaker("Alice");

//add some locutions connected by an Adding transition.
var loc1 = arm.AddNewLocution(sp1, "Today I'm happy");
var loc2 = arm.AddNewLocution(sp1, "because it's sunny.");
var tra1 = arm.AddNewTransition(loc1, loc2);
tra1.Type = TransitionType.Adding;

//delete the second locution.
loc2.Delete();

You can load and save argumentation models like this:

//load an argumentation model from a file.
var armp = new ArgumentationModelPersister("YourUserName");
var arm = armp.LoadArgumentationModel("C:\\Datasets\\My ArgumentationModel.lla").ArgumentationModel;

//save it back to disk.
armp.SaveArgumentationModel(arm, null, "C:\\Datasets\\My ArgumentationModel.lla");

You can run some analytics on an argumentation model like this:

//create and run an argumentation structure analyser.
var ana = new ArgumentationEngine.Analytics.ArgumentationStructure.ArgumentationStructureAnalyser(arm)
{
	ContentiousnessExponent = 3.5
};
ana.Run();

//dump proposition cogencies to the console.
foreach (var kvp in ana.PropositionArgumentationStructureResults)
{
	Console.WriteLine($"Proposition: {kvp.Key}\tCogency: {kvp.Value.Cogency}");
}

Feedback

We love feedback!

Please write to cesar.gonzalez-perez@incipit.csic.es with your comments and questions. You can also send anonymous feedback on the web at www.iatml.org/en/logoslink/feedback.

Thank you!

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Incipit.LogosLink.ArgumentationEngine:

Package Downloads
Incipit.LogosLink.AgencyEngine

This library implements the IAT/ML concepts related to agency analysis.

Incipit.LogosLink.CorpusEngine

This library implements the IAT/ML concepts related to corpus management.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0.2 43 12/17/2024