dialogs

Simple natural language parsing and semantic grounding

https://github.com/severin-lemaignan/dialogs

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.8%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Simple natural language parsing and semantic grounding

Basic Info
  • Host: GitHub
  • Owner: severin-lemaignan
  • License: other
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 2.06 MB
Statistics
  • Stars: 10
  • Watchers: 2
  • Forks: 3
  • Open Issues: 0
  • Releases: 0
Created about 13 years ago · Last pushed about 5 years ago
Metadata Files
Readme License Citation

README.md

Dialogs: A Naive Natural Language Processor

DOI

(c) LAAS-CNRS 2010-2013 (c) EPFL 2013-2015 (c) Plymouth University 2016-2017 (c) University of the West of England 2021

This module, licensed under the permissive BSD 3-clause, reads on stdin user input in natural language, parse it, call resolution routines when ambiguous concepts are used, and finally generate RDF statements that are an interpretation of the input.

It includes as well a verbalization module that conversely turns RDF statements into a sentence in natural language.

Overview of the Dialogs pipeline

While not strictly required, it is strongly recommanded to use dialogs with a knowledge base that follows the ''KB API'' like minimalKB or oro-server.

You are welcome to reuse this software for your research. Please refer to the CITATION file for proper attribution in scientific works.

Installation

Simply run:

```

pip install dialogs ```

You can also grab the source code of the latest release here.

Usage

You can start to use dialogs immediately. For instance, try:

```

dialogs -d -p"What are you doing?" dialogs -d -p"I'm playing with you" ```

The -d flags activates the debug mode, and gives you a complete picture of the different steps: pre-processing, parsing, semantic resolution of the atoms of the sentence, interpretation and verbalization (read the paper to know more about these steps).

Lines displayed in cyan log the interactions of the dialogue module with the knowledge base (queries and knowledge revisions). If no knowledge base is running, most of the semantic resolution attempts will fail, so when asked "what are you doing?", the system answers "I don't know".

If you start dialogs with no options, it will simply read on stdin.

Check dialogs --help for other options.

Common invokation is:

```

dialogs -d NAMEOFTHE_SPEAKER ```

The main test-suite can be started with:

```

dialogs_test ```

Demo

A live demo of the parser alone (not the semantic grounding part) is available online.

Owner

  • Name: Séverin Lemaignan
  • Login: severin-lemaignan
  • Kind: user
  • Location: Barcelona, Spain
  • Company: PAL Robotics

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 640 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 2
  • Total versions: 7
  • Total maintainers: 1
pypi.org: dialogs

Handles natural language inputs and outputs on cognitive robots

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 640 Last month
Rankings
Downloads: 8.7%
Dependent packages count: 10.0%
Dependent repos count: 11.6%
Average: 12.8%
Forks count: 16.8%
Stargazers count: 17.1%
Maintainers (1)
Last synced: 8 months ago