【用户模拟器】原理篇二:深度建模的方法

{

    "caller-id": "03c2655d43", 

    "turns": [

        {

            "turn-index": 0, 

            "goal-labels": {

                "food": "international", 

                "area": "east"

            }, 

            "transcription": "restaurant in the east part of town international food", 

            "method-label": "byconstraints", 

            "audio-file": "pt344x_0000956_0001231.wav", 

            "requested-slots": [], 

            "semantics": {

                "json": [

                    {

                        "slots": [

                            [

                                "food", 

                                "international"

                            ]

                        ], 

                        "act": "inform"

                    }, 

                    {

                        "slots": [

                            [

                                "area", 

                                "east"

                            ]

                        ], 

                        "act": "inform"

                    }

                ], 

                "cam": "inform(type=restaurant,area=east,food=international)"

            }

        }, 

        {

            "turn-index": 1, 

            "goal-labels": {

                "food": "international", 

                "area": "east"

            }, 

            "transcription": "phone number", 

            "method-label": "byconstraints", 

            "audio-file": "pt344x_0001609_0001668.wav", 

            "requested-slots": [

                "phone"

            ], 

            "semantics": {

                "json": [

                    {

                        "slots": [

                            [

                                "slot", 

                                "phone"

                            ]

                        ], 

                        "act": "request"

                    }

                ], 

                "cam": "request(phone)"

            }

        }, 

        {

            "turn-index": 2, 

            "goal-labels": {

                "food": "international", 

                "area": "east"

            }, 

            "transcription": "thank you good bye", 

            "method-label": "finished", 

            "audio-file": "pt344x_0002245_0002362.wav", 

            "requested-slots": [], 

            "semantics": {

                "json": [

                    {

                        "slots": [], 

                        "act": "thankyou"

                    }, 

                    {

                        "slots": [], 

                        "act": "bye"

                    }

                ], 

                "cam": "thankyou()|bye()"

            }

        }

    ], 

    "task-information": {

        "goal": {

            "text": "Task 09126: You want to find a restaurant in the east part of town and it should serve international food. Make sure you get the phone number of the venue.", 

            "request-slots": [

                "phone"

            ], 

            "constraints": [

                [

                    "food", 

                    "international"

                ], 

                [

                    "area", 

                    "east"

                ]

            ]

        }, 

        "feedback": {

            "questionnaire": [

                [

                    "The system understood me well.", 

                    "slightly disagree"

                ]

            ], 

            "comments": null, 

            "success": true

        }

    }, 

    "session-id": "voip-03c2655d43-20130327_194221"

}