Skip to content

Commit

Permalink
Tiny fixes from the last data run
Browse files Browse the repository at this point in the history
  • Loading branch information
tuetschek committed Apr 8, 2016
1 parent 6ca1c9c commit e8ad5a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion alex/tools/crowdflower/nlg_job/build_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
'looing': 'looking',
'altenative': 'alternative',
'alterative': 'alternative',
'alernate': 'alternate',
'fron': 'from',
'arrivive': 'arrive',
'soory': 'sorry',
Expand All @@ -47,6 +48,7 @@
'connecion': 'connection',
'whre': 'where',
'lne': 'line',
'cound': 'could',
}

# possible relative times used in the dataset (for reparsing)
Expand All @@ -70,7 +72,7 @@
# alternative realization of slot values for delexicalization
ALT_VALUES = {'pm': ['afternoon', 'evening'],
'am': ['morning'],
'0': ['no', 'zero', 'none'],
'0': ['no', 'zero', 'none', 'any'],
'1': ['one'],
'2': ['two', 'second', '2nd'],
'1:00': ['one o\'clock', 'one', '1'],
Expand Down

0 comments on commit e8ad5a3

Please sign in to comment.