TraceLab Components for Generating Speech Act Types in Developer Question/Answer Conversations

Rrezarta Krasniqi, Collin McMillan

How to Reproduce the Experiment

This page contains the Madeline experiment with the ND components. To reproduce Madeline experiment in TraceLab, below are the steps to run the experiment:

  1. Open VirtualBox and import the VirtualMachine(Debian) "madeline_tracelab.ova" found here. The successful import is shown in VM. Then run tracelab.
  2. Open the terminal (highlighted in red) and type: tracelab.
  3. If an error occurs with a message "canberra-gtk-module" (as highlighted in red), ignore it (i.e., the module is alreday installed) and re-run it again. The new tracelab screen opens (highlighted in orange)executable_tracelab
  4. The madeline_complete_exp.teml is the executable file that runs the madeline experiment. To locate this file, follow the steps below:
  5. This snapshot shows the ND Madeline sample experiment for TraceLab. All components available in this experiment were developed by the ND TraceLab.
  6. To run the experiment: select the start node (1), then click the green run button at the top left corner (2).
  7. The results are reported within the Tracelab both in workspace -- label (1) and log space -- label (2). Note that the output shows the generated speech acts (e.g., apiAnswer, clarificationQuestion, confirmation, etc) of different types and their corresponding performance metrics (ie., precision, recall, f-1-score and support).
  8. The same output results also can be found in the directory: /home/everyman/Madeline/extension/results/experiment_1. To locate the output files, follow steps labeled (1) -- (5):

Details about Data

    The data that are being used to generate the speech acts are:
    Generated data are:
    Further details about data interpretation are provided in the FSE'18 paper. Please, see section 9 (page 9 and 10), respectively, subsections: 9.1, 9.2 and 9.3.

Component Configurations

Here we show in detail the configurations (ie., input/output) of each component.

  1. The first component "ND Madeline Transcript Conversation Reader Component" is selected in this picture. It requires as output the path to the folder of transcript reader script. For more details on the "ND Madeline Transcript Conversation Reader Component" click here.
  2. The "ND Shallow Attribute Calculations Component" is selected in this picture. It requires as output the path to the folder of shallow attribute scripts. For more details on the "ND Shallow Attribute Calculations Component" click here.
  3. The "ND MultiLabel SMOTE Component" is selected in this picture.  It requires the user to enter which prediction model to run. In this case, if we choose to compute NB (i.e., Naive Bayes) model, then from "ND MultiLabel SMOTE Component" entry we type "NB Model". Otherwise, if we choose to compute LR (i.e., Logistic Regression) model, then from "ND MultiLabel SMOTE Component" entry, we type "LR Model". For more details on the "ND MultiLabel SMOTE Component" click here.
  4. The "ND NB File Parser Component" is selected in this picture. It loads from the workspace the entry that was processed by the ND MultiLabel SMOTE Component. It requires the user to inform the path to directory in order to store NB results. For more details on the "ND NB File Parser Component" click here.
  5. The "ND NB Printer Component" is selected in this picture. It will received from the workspace the contents of the srcml file that was processed by the ND NB File Parser Component. The ND NB Printer Component will print the contents of the of the workspace to TraceLab's log space. For more details on the "ND Printer Component" click here.
  6. The "ND LR File Parser Component" is selected in this picture. It will receive from the workspace the entry that was processed by the ND MultiLabel SMOTE Component. It requires the user to inform the path to directory in order to print the LR results. The path where the results are stored are shown in the workspace of Tracelab. For more details on the "ND LR File Parser Component" click here.
  7. The "ND LR Printer Component" is selected in this picture. It will received from the workspace the contents of the srcml file that was processed by the ND LR File Parser Component. The ND LR Printer Component will print the contents of the of the workspace to TraceLab's log space. For more details on the "ND LR Printer Component" click here.

    Table of Contents

    Downloads