Skip to content

deangeckt/CLG-lab-Chat-Bot-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

153 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strategies of Code-switching in Human-Machine Dialogs

This repository contains the analysis code for the experiments described in our paper:

Strategies of Code-switching in Human-Machine Dialogs Bilingualism: Language and Cognition (2025)

Overview

This directory contains analysis tools of the project.

First, there is a streamlit application with interactive dashboards; one for a single dialog session and another, for aggregate, multiple sessions.

To run the streamlit app

streamlit run app/home.py

The single dialog dashboard includes all the information included in the json file, including the chat, questionnaires’ answers, game time, bot’s version, as well as other post-process dialog properties.

img.png img_1.png

In addition, there is jupyter notebook explore.ipynb (under offline/analysis/) analysing a compact csv version of all the data.

Paper Link

📄 Published Paper: Geckt D, Fricke M, Wintner S. Strategies of code-switching in human–machine dialogs. Bilingualism: Language and Cognition. Published online 2025:1-15. doi:10.1017/S1366728925100436

📄 Read the preprint on arXiv

If you use this code in your work, please cite our paper:

@article{geckt2025strategiescodeswitchinghumanmachinedialogs,
      title={Strategies of code-switching in human-machine dialogs}, 
      author={Geckt, Dean and Fricke, Melinda and Wintner, Shuly},
      journal={Bilingualism: Language and Cognition},
      pages={1--15},
      year={2025},
      publisher={Cambridge University Press},
      doi={10.1017/S1366728925100436},
      url={https://doi.org/10.1017/S1366728925100436}
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors