Skip to content

Commit

Permalink
Fix two typos in semparse_dateparse.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
wcmac committed May 16, 2018
1 parent 9d07960 commit 9623913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions semparse_dateparse.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
"\n",
"days = [str(d) for d in range(1, 32)]\n",
"\n",
"days_padded = [str(i).zfill(2) for i in range(1, 11)]\n",
"days_padded = [str(i).zfill(2) for i in range(1, 10)]\n",
"\n",
"# Add to the rules list here:\n",
"\n",
Expand Down Expand Up @@ -814,7 +814,7 @@
"outputs": [],
"source": [
"def evaluate_dateutil(dataset, verbose=False):\n",
" \"\"\"dataset should be one data['train'] or data['dev']. Use\n",
" \"\"\"dataset should be one of data['train'] or data['dev']. Use\n",
" verbose=True to see information about the errors.\"\"\"\n",
" results = defaultdict(int)\n",
" for ex in dataset:\n",
Expand Down

0 comments on commit 9623913

Please sign in to comment.