Skip to main content

A toolkit for evaluating deliberative discussions and building DEliBots. For more details see delibot.xyz

Project description

A toolkit for evaluating deliberative discussions and building DEliBots. For more details see https://delibot.xyz

Install

Please install the latest version from PyPi, preferably in a virtual environment of choice.

pip install delitoolkit

Usage

DeliAnnotation

This module gives access to classifiers trained to annotate deliberative discussions. The classifier predicts the first 2 levels from the DeliAnnotate annotation scheme. Please refer to the original paper for usage, annotation description, guidelines, classification architecture and performance: link.

from delitoolkit import deliannotate

deli_predictor = deliannotate.DeliAnnotationPredictor()

type, role = deli_predictor.predict("What about A")

Cause of change of mind predictor (aka conversational turning points or inflection points)

This module gives access to classifiers trained to predict which utterances in a collaborative conversation can cause someone to change their mind. Please refer to the original paper for usage, classification architecture and performance link. Currently delitoolkit provides API to an enhanced Bag-of-words model, with slightly better performance than the one in the original paper. The classifier relies only on linguistic data, without incorporating any other datastreams (and thus is applicable to wider-range of tasks). Please provide conversation context of at least 2 utterances for best performance.

from delitoolkit.inflection_point import bow

predictor = bow.BoWSimple()

print(predictor.predict_proba(["Hi", "I think 3"]))

DeliData

Easy way to access the contents of DeliData. Contains 500 deliberative discussions of groups solving the Wason card selection task. Each utterance is augmented with additional data, such as annotation, solutions, and approximation of team performance. For full information, please refer to the DeliData paper and DELIDATA_README.md

from delitoolkit.delidata import DeliData


delidata_corpus = DeliData()
groups = list(delidata_corpus.corpus.keys())
for m in delidata_corpus.corpus[groups[0]]:
    print(m['message_type'], m['original_text'])

Relevant papers and BibTeX citations

DeliAnnotation module

DeliData A dataset for deliberation in multi-party problem solving (https://delibot.xyz/delidata)

@article{karadzhov2023delidata,
    title={DeliData: A dataset for deliberation in multi-party problem solving},
    author={Karadzhov, Georgi and Stafford, Tom and Vlachos, Andreas},
    journal={Proceedings of the ACM on Human-Computer Interaction},
    volume={7},
    number={CSCW2},
    pages={1--25},
    year={2023},
    publisher={ACM New York, NY, USA}
  }

Inflection point module

What makes you change your mind? An empirical investigation in online group decision-making conversations

@inproceedings{karadzhov2022makes,
  title={What makes you change your mind? An empirical investigation in online group decision-making conversations},
  author={Karadzhov, Georgi and Stafford, Tom and Vlachos, Andreas},
  booktitle={Proceedings of the 23rd Annual Meeting of the Special Interest Group on Discourse and Dialogue},
  pages={552--563},
  year={2022}
}

History

0.3.9 (16.01.2024)

  • First release on PyPI.

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

delitoolkit-0.3.9.tar.gz (6.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

delitoolkit-0.3.9-py2.py3-none-any.whl (6.9 MB view details)

Uploaded Python 2Python 3

File details

Details for the file delitoolkit-0.3.9.tar.gz.

File metadata

  • Download URL: delitoolkit-0.3.9.tar.gz
  • Upload date:
  • Size: 6.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.7

File hashes

Hashes for delitoolkit-0.3.9.tar.gz
Algorithm Hash digest
SHA256 3758a2b251bf6a67e8229c986b67a2ff18635212f53520c43ab96a3ac3ca171d
MD5 f42281bb05b8c964f7351aa501afbefc
BLAKE2b-256 165ffdf7013c422387df2f9918c0f4d9729ea3869ea4aaedec163d7e5a246fc3

See more details on using hashes here.

File details

Details for the file delitoolkit-0.3.9-py2.py3-none-any.whl.

File metadata

  • Download URL: delitoolkit-0.3.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.9 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.7

File hashes

Hashes for delitoolkit-0.3.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5cef958e6343aeb53688c44a0c5311f6837958e62441e3c86f567faad605f689
MD5 5e1c64f16915831e4b0640529d7a6273
BLAKE2b-256 835ca777c437fc2dc2270a316a3e476d01d899851fc75cd57779de4af6464b00

See more details on using hashes here.

Supported by

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