Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
9687b59
tests
davivcu Mar 13, 2021
57ef412
switched to development
Mar 16, 2021
88eea54
switched to development
Mar 16, 2021
1aef03e
Merge remote-tracking branch 'origin/master' into multimodel
Mar 16, 2021
3412b2a
Update login_components.js
davivcu Mar 18, 2021
1c1dbd0
scripts support
Mar 19, 2021
6de8411
Merge branch 'multimodel' of https://github.com/davivcu/matilda into …
Mar 19, 2021
841e2a8
annotation gui and new annotation style
Mar 19, 2021
da2b2bb
slot collapsed if too many
Mar 19, 2021
62199c3
datamanagement view
Mar 22, 2021
5146694
small fixes
Mar 22, 2021
22c85c8
datamanagement view
Mar 22, 2021
53aaaef
unipi datamodel improved
Mar 23, 2021
8b0149a
fix datamanagement view
Mar 23, 2021
3d178d8
fix datamanagament view
Mar 23, 2021
17f2343
documentLenght only
Mar 26, 2021
0e144ab
new slot annotation view
Mar 27, 2021
db58b6d
new slot annotation view
Mar 27, 2021
c6d8d00
new slot annotation view
Mar 28, 2021
44207ba
fix new slot annotation view
Mar 29, 2021
d66210b
fix new slot annotation view
Mar 29, 2021
42ad5f9
fix new slot annotation view
Mar 29, 2021
aed5a25
fix new slot annotation view
Mar 29, 2021
76966f1
fix new slot annotation view
Mar 29, 2021
d98e963
fix new slot annotation view
Mar 29, 2021
7f2ca0f
range with tokens
Mar 29, 2021
2b8f735
range starting from 0
Mar 29, 2021
2ab9fe3
Update unipi_model_v2.json
davivcu Mar 30, 2021
8f70921
new annotation rate with slots
Mar 30, 2021
cd635d1
Merge remote-tracking branch 'origin/multimodel' into multimodel
Mar 30, 2021
677c6a8
configuration view 1/2
davivcu Apr 1, 2021
20e1e37
configuration view back-end
davivcu Apr 2, 2021
948fb36
Update unipi_model_v2.json
davivcu Apr 2, 2021
bb3e0c8
Update languages.js
davivcu Apr 2, 2021
6c394df
annotators or annotator
davivcu Apr 2, 2021
3e55ba2
Update main.css
davivcu Apr 2, 2021
b9efce1
configuration view back end
davivcu Apr 2, 2021
31dbd38
Merge remote-tracking branch 'origin/multimodel' into multimodel
davivcu Apr 2, 2021
5eddb09
configuration view 2/2
davivcu Apr 4, 2021
8e871b4
Create Annotation Style
davivcu Apr 4, 2021
1c69dbf
Database Dump, Create annotation Style exceptions
davivcu Apr 7, 2021
6b67bd6
Create annotation style excepetions
davivcu Apr 8, 2021
3f87c45
stability fixes
davivcu Apr 8, 2021
59578fd
bugfix: allineation to rebooted server
davivcu Apr 9, 2021
824cf30
stability fixes
davivcu Apr 9, 2021
867fb61
stability fixes
davivcu Apr 9, 2021
6261437
bug: user could load a un-assigned collection
davivcu Apr 10, 2021
18bd724
fix for damanagement new creation, second attempt
davivcu Apr 11, 2021
8a4eebe
login with placeholder, database gui fix
davivcu Apr 11, 2021
560f4e0
login revision
davivcu Apr 11, 2021
62189f7
bugfixes
davivcu Apr 11, 2021
9658658
Update README.md
davivcu Apr 12, 2021
050cc53
supervision scroll fix
davivcu Apr 12, 2021
7225689
Merge branch 'multimodel' of https://github.com/davivcu/matilda into …
davivcu Apr 12, 2021
df37d8a
session restore for get and put dialogue
davivcu Apr 12, 2021
a9b027d
session restore for get, put dialogue
davivcu Apr 12, 2021
3cc30af
update annotation style fix
davivcu Apr 13, 2021
5f37487
Update database.css
davivcu Apr 13, 2021
b2fd7c5
Update annotation_app.css
davivcu Apr 13, 2021
ca2e40a
Update annotation_app.css
davivcu Apr 13, 2021
8fdd7f2
session restore for get, put dialogue
davivcu Apr 13, 2021
c0f5103
Update supervision_components.js
davivcu Apr 14, 2021
44b97fb
Update users.css
davivcu Apr 15, 2021
e1de233
auto-save on turn changed
davivcu Apr 15, 2021
dbfe491
update annotation style fix
davivcu Apr 15, 2021
497f5b7
more restrictive search field in update dialogue for duplicate except…
davivcu Apr 16, 2021
6bd612f
logging for wsgi
davivcu Apr 16, 2021
ad331a4
route secured with session, login requested after server reboot
davivcu Apr 17, 2021
a1a587d
load and delete annotated collections
davivcu Apr 17, 2021
17fec7f
validation for annotated collections manually loaded
davivcu Apr 18, 2021
e25ded9
datamanagement proper go-back
davivcu Apr 18, 2021
c201c74
translation for configuration and annotation upload, supervisor showi…
davivcu Apr 19, 2021
e4c575d
interannotator global slot, front-end side
davivcu Apr 21, 2021
a615822
return format error
davivcu Apr 22, 2021
356cea4
interannotator error count display
davivcu Apr 22, 2021
249d101
Better loading cursor
Apr 22, 2021
e3b603a
fix for interannotator, new slot annotation for inter-annotator too, …
davivcu Apr 22, 2021
251a621
meta-tags and configuration containers in turn list small graphical edit
davivcu Apr 23, 2021
b56915d
no more dumping, app logs in gui
davivcu Apr 23, 2021
7382330
no more dumping, session guard switch, interannotator general fix
davivcu Apr 24, 2021
e5302b3
logs configuration switch
davivcu Apr 24, 2021
13ee9f0
Update README.md
davivcu Apr 24, 2021
2591fbb
annotation rate update in supervision
davivcu Apr 24, 2021
521a252
gui minor fixes, configuration
davivcu Apr 25, 2021
2c77b15
Merge branch 'multimodel'
davivcu Apr 25, 2021
6e45f52
Update README.md
davivcu Apr 25, 2021
8659c86
Merge branch 'master' of https://github.com/davivcu/matilda-dev
davivcu Apr 25, 2021
9c603ca
Update datamanagement_components.js
davivcu Apr 27, 2021
8522431
Update languages.js
davivcu Apr 27, 2021
be4f57c
test files
davivcu Apr 27, 2021
60750eb
test file and git ignore
davivcu Apr 27, 2021
715e085
supervisor annotation rates overview, fix for configuration logs, fix…
davivcu Apr 27, 2021
f2dbaeb
Update README.md
bahraynian Apr 26, 2021
f9c58bb
scrollbar for datamanagement view, optimization for supervision annot…
davivcu Apr 28, 2021
731ee27
logs with gunicorn, stringify all responses, small gui fixes, update …
Apr 28, 2021
5fee0d8
translation and logs enabled/disabled in gui
davivcu Apr 28, 2021
d2d9ceb
Update admin_view.js
davivcu Apr 30, 2021
c252ab2
new text selection
davivcu Apr 30, 2021
72a10aa
optimized interannotator
davivcu Apr 30, 2021
e0f74cf
less logging
davivcu Apr 30, 2021
dd2489e
interannotator reduced http requests
Apr 30, 2021
19ac0f6
interannotator quick fix for errors count
davivcu Apr 30, 2021
747d988
general revision of gui
davivcu Apr 30, 2021
f6582f6
translation annotation preferences
davivcu Apr 30, 2021
551c536
fix for multilabel_classification_string not being correctly deleted …
davivcu May 2, 2021
4571e72
Update users_components.js
davivcu May 11, 2021
45aadcf
Update datamanagement_components.js
davivcu May 11, 2021
ab2012d
bug fix for new annotation model
davivcu May 12, 2021
8fbcb83
Merge branch 'master' of https://github.com/davivcu/matilda-dev
davivcu May 12, 2021
4e1c874
bug fix for creating new annotation model
davivcu May 12, 2021
9cd2afa
Update login_components.js
davivcu May 13, 2021
01fcd3a
Update conf.json
davivcu May 14, 2021
0c601ed
Delete matilda.conf
davivcu May 14, 2021
b5ed147
Update docker-compose_nginx.yml
davivcu May 15, 2021
ef4b057
Update database.py
davivcu May 15, 2021
7864b56
Merge branch 'master' of https://github.com/davivcu/matilda-dev
davivcu May 15, 2021
ae73e0e
docker revision
davivcu May 15, 2021
e7c1da1
minor fixes
davivcu May 15, 2021
2122557
Update database.py
davivcu May 18, 2021
e092c5f
Update main.css
davivcu May 19, 2021
6c42bd3
Update README.md
davivcu May 19, 2021
fd95869
Create changelog.md
davivcu May 20, 2021
761155a
Update changelog.md
davivcu May 20, 2021
69a2175
exception: annotation model removed from matilda
davivcu May 21, 2021
d4bcc8e
Update all_dialogues.css
davivcu May 24, 2021
b9667ba
Update annotation_app.css
davivcu May 24, 2021
abe12be
Update annotation_app.css
davivcu May 24, 2021
5f520d8
Update languages.js
davivcu May 24, 2021
104540e
Update unipi_model_v2.json
davivcu May 24, 2021
04f5d59
Delete unipi_v2.json
davivcu May 24, 2021
8fadbbc
Update supervision_components.js
davivcu May 25, 2021
5282e08
temporary fix
davivcu May 25, 2021
f33653b
Update matilda_app.py
davivcu May 25, 2021
b715a5e
fix for annotation modal check
davivcu May 25, 2021
0a805e8
bugfix for an empty database update request
davivcu May 25, 2021
51b3b79
datamanagement: shows only the number if more than 3 assigned users
May 26, 2021
8896d98
datamanagement: shows only the number if more than 3 assigned users
davivcu May 31, 2021
e6f630e
Update configuration_components.js
davivcu Jun 10, 2021
482e564
supervision view: editing turn content for all documents
davivcu Jul 3, 2021
a9769bd
Update changelog.md
davivcu Jul 3, 2021
4e26ad4
Update changelog.md
davivcu Jul 3, 2021
81545b4
Update all_dialogues.css
davivcu Jul 27, 2021
8669066
Adding new empty turn, improved request errors messages
davivcu Jul 31, 2021
f96f8e8
small gui fixes
davivcu Aug 2, 2021
8ed4a44
add empty dialogue, fixed a bug on turn content updating
Aug 3, 2021
fafbca4
small fix
davivcu Aug 3, 2021
88e1911
delete turn
Aug 4, 2021
5ac78c2
editing dialogue in datamanagement
davivcu Aug 4, 2021
f97928a
translated "role"
Aug 6, 2021
556af88
Merge branch 'master' of https://github.com/davivcu/matilda-dev
Aug 6, 2021
98e6815
dialogues editing in datamanagement
Aug 6, 2021
9fb5390
Update README.md
davivcu Aug 28, 2021
68dfb94
Update README.md
davivcu Aug 31, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,16 @@ GOLD*
John.json
/lib
pyvenv.cfg
.gitattributes
.gitattributes
db/
configdb
web/github
web/github.pub
web/server/LIDA_ANNOTATIONS/
gunicorn_logs.txt
web/server/error.log
.vscode/launch.json
matilda.log
web/server/matilda.log
configuration/conf.old.json
96 changes: 62 additions & 34 deletions README.md
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
![WLUPER AND UNIPI](images/research_collaboration_matilda.png)

**What's new in MATILDA:**
1. Full support for multiple annotators and project management
2. Full support for multiple annotation models
3. Database MongoDB for data delivery and consistency
4. Production ready server with Gunicorn and nginx
5. New annotation functions
# MATILDA: Multi-AnnoTator multi-language Interactive Lightweight Dialogue Annotator

**Authors:** Davide Cucurnia, Nikolai Rozanov, Irene Sucameli, Augusto Ciuffoletti, Maria Simi

**Contact:** [email protected]

**Paper:** [link to the EACL paper](https://www.aclweb.org/anthology/2021.eacl-demos.5/)

### Citation at bottom of README! (Please cite when using)

MATILDA is the first multi-annotator, multi-language annotation tool that is built on the top of an open source dialogue annotation tool [LIDA](https://github.com/Wluper/lida), specifically it has full support for multiple annotators, project management and multiple annotation models. It uses MongoDB for data delivery and consistency, it comes with production ready server by using Gunicorn and nginx.

## Document structure

0. <strong>Requirements</strong>
1. <strong>Installation</strong>
- Option A) Running the Server with Docker
- Option A: Running the Server with Docker
- Docker and docker-compose
- Option B) Running the Server with flask (WSGI) or gunicorn
- Option B: Running the Server with flask (WSGI) or gunicorn
- Downloading & Installing Modules Requirements
- Run the server
- Run the server
- Optional: Installing a MongoDB local database
- Accessing the interface
- First username and password
Expand All @@ -35,29 +40,29 @@ In order to run MATILDA on Docker you will need a 64bit system because that's th
If you wish to use MATILDA with a 32bit system you can just follow the Option B steps.
In both cases server needs a minimum of 60MB on the hard disk, plus the space needed for the database.

MATILDA is very light-weight.
MATILDA is very light-weight.
Containerized with Docker MATILDA smoothly run on a system based on Intel Celeron J3355, a 2-core microprocessor dated 2016 created for entry level PCs, equipped with a 2GB RAM. During a significant processing peak induced with an upload, the footprint did not exceed a few (2-3%) percent of hardware capacity.

## 1. Installation

MATILDA is a client-server app. The server is written in Python with the Flask
web framework. The front end is written with HTML/CSS/Vue.js and communicates
with the back end via a RESTful API.
with the back end via a RESTful API.

To run MATILDA, you will need to first run the Flask server on your
To run MATILDA, you will need to first run the Flask server on your
local machine / wherever you want the back end to run.

To do this you have two options:
1) Using the provided docker-compose.yml file to run it
in a docker container together with its database. This is probably faster and cleaner.
2) Otherwise you will need to have Python 3.6 or above installed on your machine
and a mongoDB database, either online (there are many free services) or local.
2) Otherwise you will need to have Python 3.6 or above installed on your machine
and a mongoDB database, either online (there are many free services) or local.
If you are using an online database you will need to set the database address in
configuration/conf.json.

Further instructions are provided in the next paragraph.

### Option A) Running the Server with Docker
### Option A: Running the Server with Docker

MATILDA also comes with a docker container you may want to use for a fast and clean installation on Linux, OSX and Windows systems.

Expand All @@ -82,9 +87,9 @@ To manually stop the service use the command:

<strong> For further details, please see the specific instructions in `/docker_readme.md.` </strong>

### Option B) Running the Server with Flask (WSGI) or Gunicorn
### Option B: Running the Server with Flask (WSGI) or Gunicorn

#### 1) Downloading & Installing Modules Requirements
#### 1. Downloading & Installing Modules Requirements

It is strongly recommended that you clone into a Python virtual environment:

Expand All @@ -97,7 +102,7 @@ $ cd MATILDA/ && source bin/activate
(MATILDA)$ pip3 install -r requirements.txt
```

#### 2) Run the server with Flask or Gunicorn
#### 2. Run the server with Flask or Gunicorn

Assuming you have just followed the steps to "Downloading & Installing MATILDA Module Requirements"
and you have a mongoDB locally installed on your system:
Expand Down Expand Up @@ -136,21 +141,21 @@ You can test it's running by:

`ps aux | grep -v grep | grep mongod`

#### NOTE: Manual operations on the MongoDB database
Whatever solution you choose to use to deploy your MongoDB database, if you perform manual operations on it such as document copies, document deletions or backup recovering, it's very important not to create duplicated documents. This precaution will prevent inconsistent and unexepected behaviour during Matilda's workflow.


### Accessing the interface

Each option you chose before you can now simply navigate to http://localhost:5000 if you installed the server locally
Each option you chose before you can now simply navigate to http://localhost:5000 if you installed the server locally
or navigate to the remote server address.
Keep in mind you may need to open the correct ports on your firewall(s) in order to reach the server.

HTTP Requests from your client may not reach your server in some configuration environment,
in those few cases please check and edit the backend address in MATILDA's file `/web/server/gui/source/utils/backend.js`.
Other configuration options are exposed in `/Configuration/conf.json`.

### First username and password

On its first start MATILDA creates an administrator account with username "admin" and password "admin".
You need to use this credentials for your first login. Once you are allowed to enter it's recommended
You need to use this credentials for your first login. Once you are allowed to enter it's recommended
to change the admin password from the graphical interface.

## 2. Configuration
Expand All @@ -161,19 +166,23 @@ All configuration changes that you may wish to make to MATILDA network and datab
There you can change:
- App ports (default 5000) and address (127.0.0.1)
- Database location with address:port combination (127.0.0.1:27017) or mongoDB URI (mongodb://mongo:27017/?retryWrites=true&w=majority)
- The annotation models you want to be available inside MATILDA. The json files you are referring to must be included in the Configuration folder.
- The annotation models you want to be available inside MATILDA. The json files you are referring to, the models, must be included in the Configuration folder.
- Whether or not enforce session security (which is strongly advised) with the session_guard parameter.
- The event logging level saved in `/web/server/matilda.log` file.

If you are using the Docker version you can also perform additional configuration with `/Configuration/gunicorn_run.sh`.
If you are using the Docker version you can also perform additional configuration with `/Configuration/gunicorn_run.sh` in order to set the workers number and other gunicorn options.

### Annotation Models

All configuration changes that you may wish to make to MATILDA's annotation model can be done by editing the json file
`/Configuration/lida_model.json` or by adding a new one. This script contains a configuration dictionary that describes
which labels will appear in MATILDA's front end.
`/Configuration/lida_model.json` or by adding a new one. This script contains a configuration dictionary that describes
which labels will appear in MATILDA's annotation interface.
You can also add an entire new annotation model file and put a reference to it in the `/Configuration/conf.json` file in
order to instruct the program to load it on start.

You can currently add three different types of new labels to MATILDA:
## 3. Advanced Configuration

Any annotation model has up to four different types of labels in MATILDA:

1. `multilabel_classification` :: will display as checkboxes which you can
select one or more of.
Expand All @@ -186,9 +195,9 @@ You can currently add three different types of new labels to MATILDA:
3. `string` :: will display underneath the user's utterance as a string
response. This is the label field that would be used for a response to the
user's query.


## 3. Advanced Configuration
4. `global_classification_string` :: similar to multilabel_classification_string
but it's not dialogue turn-related, it refers to the entire dialogue.

### New Labels

Expand Down Expand Up @@ -272,8 +281,8 @@ have the following properties:
of key-value pairs which are used to display the dialogue data for annotation.

* Some key-value pairs are compulsory in order to correctly display the
dialogue. The key-value pairs which are compulsory are defined in the
annotation model json file in the `/Configuration` folder read by `/web/gui/server/annotator_config.py` module.
dialogue. The key-value pairs which are compulsory are defined in the
annotation model json file in the `/Configuration` folder read by `/web/gui/server/annotator_config.py` module.

* By default, the only required key-value pair in each turn is called
`usr` and should be the user's query as a string.
Expand All @@ -284,7 +293,26 @@ An example of data in the correct form can be seen in `/web/server/LIDA_ANNOTATI
![JSON format](images/ann_conf.png)

## Citation
The official citation from the EMNLP 2019 conference in Hong Kong. Please cite this when using.
Please cite these two papers when using.
```
@inproceedings{cucurnia-etal-2021-matilda,
title = "{MATILDA} - Multi-{A}nno{T}ator multi-language {I}nteractive{L}ight-weight Dialogue Annotator",
author = "Cucurnia, Davide and
Rozanov, Nikolai and
Sucameli, Irene and
Ciuffoletti, Augusto and
Simi, Maria",
booktitle = "Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations",
month = apr,
year = "2021",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/2021.eacl-demos.5",
pages = "32--39",
abstract = "Dialogue Systems are becoming ubiquitous in various forms and shapes - virtual assistants(Siri, Alexa, etc.), chat-bots, customer sup-port, chit-chat systems just to name a few.The advances in language models and their publication have democratised advanced NLP.However, data remains a crucial bottleneck.Our contribution to this essential pillar isMATILDA, to the best of our knowledge the first multi-annotator, multi-language dialogue annotation tool. MATILDA allows the creation of corpora, the management of users, the annotation of dialogues, the quick adaptation of the user interface to any language and the resolution of inter-annotator disagreement. We evaluate the tool on ease of use, annotation speed and interannotation resolution for both experts and novices and conclude that this tool not only supports the full pipeline for dialogue annotation, but also allows non-technical people to easily use it. We are completely open-sourcing the tool at https://github.com/wluper/matilda and provide a tutorial video1.",
}
```

```
@inproceedings{collins-etal-2019-lida,
title = "{LIDA}: Lightweight Interactive Dialogue Annotator",
Expand Down
67 changes: 67 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
![WLUPER AND UNIPI](images/research_collaboration_matilda.png)

# MATILDA: Multi-AnnoTator multi-language Interactive Lightweight Dialogue Annotator

**Authors:** Davide Cucurnia, Nikolai Rozanov, Irene Sucameli, Augusto Ciuffoletti, Maria Simi

**Contact:** [email protected]

**Paper:** [link to the EACL paper](https://www.aclweb.org/anthology/2021.eacl-demos.5/)

### Citation at bottom of README! (Please cite when using)

## 1.5

- Configuration view in Admin Panel
- Supervision annotation rate bars
- Supervision view now allows to upload an already annotated dialogue collection
- Supervision view now allows to edit turn utterances of collections
- Inter-annotator stats for multilabel-string-classification
- Annotation Rate for single dialogue is calculated anew when entering dialogue annotation mode

## 1.4

- Dialogue annotation view displays few annotation customizable options:
- Resizable layout, useful for very large or very small screen layouts.
- Character limit for long utterances: after that number of character a scroll-bar will be shown.
- Auto-save on turn change on/off switch.


## Citation
Please cite these two papers when using.
```
@inproceedings{cucurnia-etal-2021-matilda,
title = "{MATILDA} - Multi-{A}nno{T}ator multi-language {I}nteractive{L}ight-weight Dialogue Annotator",
author = "Cucurnia, Davide and
Rozanov, Nikolai and
Sucameli, Irene and
Ciuffoletti, Augusto and
Simi, Maria",
booktitle = "Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations",
month = apr,
year = "2021",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/2021.eacl-demos.5",
pages = "32--39",
abstract = "Dialogue Systems are becoming ubiquitous in various forms and shapes - virtual assistants(Siri, Alexa, etc.), chat-bots, customer sup-port, chit-chat systems just to name a few.The advances in language models and their publication have democratised advanced NLP.However, data remains a crucial bottleneck.Our contribution to this essential pillar isMATILDA, to the best of our knowledge the first multi-annotator, multi-language dialogue annotation tool. MATILDA allows the creation of corpora, the management of users, the annotation of dialogues, the quick adaptation of the user interface to any language and the resolution of inter-annotator disagreement. We evaluate the tool on ease of use, annotation speed and interannotation resolution for both experts and novices and conclude that this tool not only supports the full pipeline for dialogue annotation, but also allows non-technical people to easily use it. We are completely open-sourcing the tool at https://github.com/wluper/matilda and provide a tutorial video1.",
}
```

```
@inproceedings{collins-etal-2019-lida,
title = "{LIDA}: Lightweight Interactive Dialogue Annotator",
author = "Collins, Edward and
Rozanov, Nikolai and
Zhang, Bingbing",
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP): System Demonstrations",
month = nov,
year = "2019",
address = "Hong Kong, China",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/D19-3021",
doi = "10.18653/v1/D19-3021",
pages = "121--126",
abstract = "Dialogue systems have the potential to change how people interact with machines but are highly dependent on the quality of the data used to train them.It is therefore important to develop good dialogue annotation tools which can improve the speed and quality of dialogue data annotation. With this in mind, we introduce LIDA, an annotation tool designed specifically for conversation data. As far as we know, LIDA is the first dialogue annotation system that handles the entire dialogue annotation pipeline from raw text, as may be the output of transcription services, to structured conversation data. Furthermore it supports the integration of arbitrary machine learning mod-els as annotation recommenders and also has a dedicated interface to resolve inter-annotator disagreements such as after crowdsourcing an-notations for a dataset. LIDA is fully open source, documented and publicly available.[https://github.com/Wluper/lida] {--}{\textgreater} Screen Cast: https://vimeo.com/329824847",
}
```
38 changes: 22 additions & 16 deletions configuration/conf.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
{
"app": {
"address":"0.0.0.0",
"port":5000,
"annotation_models":["unipi_model.json","lida_model.json"]
},
"database": {
"name": "matilda",
"legacy_configuration": {
"address": "localhost",
"port": 27017,
"username": null,
"password": null
},
"optional_uri": "mongodb://mongo:27017/?retryWrites=true&w=majority"
}
}
"app": {
"address": "0.0.0.0",
"port": 5000,
"annotation_models": [
"unipi_model.json",
"lida_model.json",
"unipi_model_v2.json"
],
"session_guard": true,
"full_log": true
},
"database": {
"name": "matilda_wsgi",
"legacy_configuration": {
"address": "localhost",
"port": 27017,
"username": null,
"password": null
},
"optional_uri": "mongodb://mongo:27017/?retryWrites=true&w=majority"
}
}
2 changes: 1 addition & 1 deletion configuration/gunicorn_run.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
cd server; gunicorn --bind 0.0.0.0:5000 matilda_app:MatildaApp
cd server; gunicorn --bind 0.0.0.0:5000 matilda_app:MatildaApp --log-file matilda.log --log-level 'info'
Loading