LogosLink Programmer's Guide · LogosLink Programmer's Interface version 2.0.1

Overview

The LogosLink Programmer's Interface is composed of a collection of Microsoft .NET Core packages that you can download and reference from your project. In this manner, you can develop your own software tools on top of LogosLink, integrating it seamlessly with your application.

You can download and add the LogosLink Programming Libraries to your project by following the instructions in the Set Up page.

If you are not familiar with LogosLink, please refer to the LogosLink User's Manual before continuing here.

Using .NET packages

You can use the LogosLink Programmer's Interface from any .NET Framework application. The usual setup to do this includes:

All the above technologies and products are free to download and use.

You may be able to use the LogosLink Programmer's Interface from non-.NET applications, but this usually involves third-party bridging technologies.

Sample code

Look at the following C# code snippet:

using Incipit.LogosLink.ArgumentationEngine;

var arm = new ArgumentationModel("Test Model", "MyUserName");
arm.TextContent.Text = """
    Alice: Today is a beautiful day.
    Bob: How so?
    Alice: Because it's sunny!
    """;

arm.AddNewSpeaker("Alice");
arm.AddNewLocution("Today is a beautiful day.");

This code creates an argumentation model named Test Model with some text, and then adds a speaker plus a locution to it. Let's imagine we want to do the same, but inside a corpus:

using Incipit.LogosLink.ArgumentationEngine;
using Incipit.LogosLink.CorpusEngine;

var cor = new Corpus("Test Corpus", "C:\\Temp\\Test", "MyUserName");

var doc = cor.AddNewDocument("A Sample Document");
doc.CreateTextFile("""
    Alice: Today is a beautiful day.
    Bob: How so?
    Alice: Because it's sunny!
    Alice: Today is a beautiful day.
    Bob: How so?
    Alice: Because it's sunny!
    """);

var arm = doc.CreateArgumentationModel().ArgumentationModel;

arm.AddNewSpeaker("Alice");
arm.AddNewLocution("Today is a beautiful day.");

This code creates a corpus named Test Corpus on a particular directory, adds a new document titled "A Sample Document" with some text contents, creates an argumentation model for it, and adds a speaker plus a locution to this model.

Functionality

Through the LogosLink Programmer's Interface you can do this and much more, including:

  • Create, open and save contexts, ontologies, argumentation models, question sets, agency models and corpora.
  • Add, modify and delete model elements such as themes, positions, categories, atoms, locutions, propositions, questions, responses, documents, labels or authors.
  • Add denotations in ontologies or argumentation models to track the semantics of text fragments.
  • Edit ontologies and argumentation models visually through diagramming.
  • Organise corpus documents by using labels, topics and authors.
  • Perform advanced filtering and define manual and smart collections on a corpus.
  • Clean up text of many documents in a corpus.
  • Automatically synchronise documents in a corpus, and generate automatic titles or determine their languages.
  • Obtain statistics for a model or corpus.
  • Carry out a variety of automated analytics on models or corpora, and view the results as text or graphically.
  • Package and unpackage corpus contents for backup or sharing with collaborators.

Check out the Architecture section of this guide to find out how the LogosLink Programmer's Interface is organised, or browse through the Reference section to learn the details of each class, property and method in the packages.


Contents distributed under a Creative Commons Attribution 4.0 International License · About · Terms of Use · Contact Us · last updated on 21/04/2025 16:01