The model architecture itself is an extension of the frameBERT model.
The Dialog Frame Parser is a BERT-based frame-semantic parser to understand the meaning of dialog in terms of FrameNet.
frame (frame semantics) is a schematic representation of a situation or an event.
For an example sentence, "The center's director pledged a thorough review of safety precedures", frameBERT identifies several frames such as Being_born and Death for lexical units (e.g., center.n, director.n and pledge.v).
dialog is a collection of multiple utterances. An utterance consists of a speaker and an utterance text.
The following is an example of a dialog.
git clone https://github.com/machinereading/Dialog_Frame_Parser.git
The sample data can be found input_data directory.
python train.py
- You can edit
model_diranddata_pathin 32-33 lines intrain.py.
python evaluate.py
- You can edit
model_diranddata_pathin 21-22 lines inevaluate.py.
CC BY-NC-SAAttribution-NonCommercial-ShareAlike- If you want to commercialize this resource, please contact to us
Machine Reading Lab @ KAIST
CHEOLHUN HEO. fairy_of_9@kaist.ac.kr
This work was supported by Institute for Information & communications Technology Planning & Evaluation(IITP) grant funded by the Korea government(MSIT) (No.2017-0-01780, The technology development for event recognition/relational reasoning and learning knowledge based system for video understanding)
