f83dd115acb0d119fa466fad51b473a30749f684,snips_nlu/intent_parser/regex_intent_parser.py,RegexIntentParser,get_slots,#RegexIntentParser#Any#Any#,158

Before Change


            for group_name in match.groupdict():
                slot_name = self.group_names_to_slot_names[group_name]
                entity = self.slot_names_to_entities[slot_name]
                rng = (match.start(group_name), match.end(group_name))
                parsed_slot = ParsedSlot(match_range=rng,
                                         value=match.group(group_name),
                                         entity=entity,

After Change


                           % intent)
        if text not in self._cache:
            self._parse(text)
        res = self._cache[text]
        if intent is not None and res.parsed_intent is not None and \
                        res.parsed_intent.intent_name != intent:
            return []
        return res.parsed_slots
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: snipsco/snips-nlu
Commit Name: f83dd115acb0d119fa466fad51b473a30749f684
Time: 2017-05-11
Author: clement.doumouro@snips.ai
File Name: snips_nlu/intent_parser/regex_intent_parser.py
Class Name: RegexIntentParser
Method Name: get_slots


Project Name: graphbrain/graphbrain
Commit Name: e3518ea890e8ec8a8e065b3cd89c14879c68dc63
Time: 2020-08-20
Author: telmo@telmomenezes.net
File Name: graphbrain/agents/system.py
Class Name: System
Method Name: run


Project Name: sloria/TextBlob
Commit Name: 7ef05274835b2272b1b431d3633d0559db684197
Time: 2015-06-08
Author: jschnurr@gmail.com
File Name: textblob/translate.py
Class Name: Translator
Method Name: _get_translation_from_json5