HDC SLU update

Update of HDC SLU rules and surface forms as discussed on the meeting.

Dictionary method implemented followingly:
* data saved in `PTICS/data/utt2da_dict.txt` in format `utterance tab dialogue_act`
* data loaded in `PTICSHDCSLU` constructor from hard-wired path (relative to `PTICS/slu` directory)
* in the case of match, DA is wrapped in `DialogueActHyp` with confidence 1

Is that ok? Shouldn't the dictionary file path be injected from elsewhere? Are `DialogueActHyp` and `DialogueActConfusionNetwork` interchangable?
If žáden is a dialect form then it should stay as it is.

Best regards,
Filip Jurcicek

-------------------------------------------------------
Work tel. (CZ): +420221914402
Personal tel. (CZ): +420777805048
Skype: bozskyfilip

http://ufal.mff.cuni.cz/filip-jurcicek
http://ufal.mff.cuni.cz/grants


On 7 October 2014 17:45, Ondrej Dusek <notifications@github.com> wrote:

> In alex/applications/PublicTransportInfoCS/hdc_slu.py:
>
> > @@ -212,7 +235,7 @@ def parse_waypoint(self, abutterance, cn, wp_id, wp_slot_suffix, phr_wp_types, p
> >                      cn.add(0.499, DialogueActItem(dai_type, 'to_' + wp_slot_suffix, wp_name))
> >                  # backoff 2: let the DM decide in context resolution
> >                  else:
> > -                    cn.add(1.0, DialogueActItem(dai_type, '', wp_name))
> > +                    cn.add(1.0, DialogueActItem(dai_type, wp_slot_suffix, wp_name))
>
> I think that "žáden" is a dialectal form :-). O.
> … <#148eb497b7485a16_>
> On Oct 7, 2014 5:11 PM, "Jakub Stejskal" <notifications@github.com>
> wrote: In alex/applications/PublicTransportInfoCS/hdc_slu.py: > @@ -212,7
> +235,7 @@ def parse_waypoint(self, abutterance, cn, wp_id, wp_slot_suffix,
> phr_wp_types, p > cn.add(0.499, DialogueActItem(dai_type, 'to_' +
> wp_slot_suffix, wp_name)) > # backoff 2: let the DM decide in context
> resolution > else: > - cn.add(1.0, DialogueActItem(dai_type, '', wp_name))
> > + cn.add(1.0, DialogueActItem(dai_type, wp_slot_suffix, wp_name)) Just
> for the record, this changes empty slot types (e.g. inform(="Palmovka")) to
> stop/city slot types (e.g. inform(stop="Palmovka") ). — Reply to this email
> directly or view it on GitHub <
> https://github.com/UFAL-DSG/alex/pull/76/files#r18523293>.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/UFAL-DSG/alex/pull/76/files#r18527812>.
>