1c0642d53f5733e544da770501ec0e1bbf2b5413,rasa/shared/nlu/training_data/formats/wit.py,WitReader,read_from_json,#WitReader#Any#,14

Before Change


            ]
            for e in entities:
                // for some reason wit adds additional quotes around entities
                e["value"] = e["value"].strip(""")

            data = {}
            if intent:

After Change


                entity_name = e["entity"]
                if ":" not in entity_name:
                    continue
                (name, role) = entity_name.rsplit(":", 1)
                e[ENTITY_ATTRIBUTE_TYPE] = name
                e[ENTITY_ATTRIBUTE_ROLE] = role

            data = {}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: RasaHQ/rasa
Commit Name: 1c0642d53f5733e544da770501ec0e1bbf2b5413
Time: 2020-10-28
Author: alwxndr@gmail.com
File Name: rasa/shared/nlu/training_data/formats/wit.py
Class Name: WitReader
Method Name: read_from_json


Project Name: tensorflow/benchmarks
Commit Name: 42c5df6f644493cf055d0b2e1a756c946d49c38f
Time: 2019-02-06
Author: donglin@google.com
File Name: perfzero/lib/setup.py
Class Name: SetupRunner
Method Name: _get_git_repos


Project Name: scikit-image/scikit-image
Commit Name: 023b34bc97d7cc3769db7b8eb3274f172a6a35f2
Time: 2018-05-25
Author: stefanv@berkeley.edu
File Name: doc/source/random_gallery.py
Class Name:
Method Name: