Skip to content

Commit

Permalink
Add tokenizer exception for "gonna" (fixes #691)
Browse files Browse the repository at this point in the history
  • Loading branch information
ines committed Dec 17, 2016
1 parent c69b77d commit d8d50a0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spacy/en/language_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1493,6 +1493,16 @@ def get_time_exc(hours):
{ORTH: "ma"}
],

"gonna": [
{ORTH: "gon", LEMMA: "go"},
{ORTH: "na", LEMMA: "to"}
],

"Gonna": [
{ORTH: "Gon", LEMMA: "go"},
{ORTH: "na", LEMMA: "to"}
],

"whats": [
{ORTH: "what"},
{ORTH: "s"}
Expand Down

0 comments on commit d8d50a0

Please sign in to comment.