* Add non-breaking space to specials.json

This commit is contained in:
Matthew Honnibal 2015-10-10 15:54:06 +11:00
parent 9dd2f25c74
commit bdcb8d695c
2 changed files with 45 additions and 25 deletions

View File

@ -341,7 +341,8 @@ hardcoded_specials = {
"E.G.": [{"F": "E.G."}],
"\n": [{"F": "\n", "pos": "SP"}],
"\t": [{"F": "\t", "pos": "SP"}],
" ": [{"F": " ", "pos": "SP"}]
" ": [{"F": " ", "pos": "SP"}],
u"\xa0": [{"F": u"\xa0", "pos": "SP", "L": " "}]
}

View File

@ -605,9 +605,13 @@
"pos": "VB"
}
],
":P": [
"11am": [
{
"F": ":P"
"F": "11"
},
{
"L": "a.m.",
"F": "am"
}
],
"Shan't": [
@ -710,6 +714,13 @@
"F": "Kan."
}
],
"\u00a0": [
{
"pos": "SP",
"L": " ",
"F": "\u00a0"
}
],
"there'd": [
{
"F": "there"
@ -1624,6 +1635,11 @@
"pos": "RB"
}
],
"Wash.": [
{
"F": "Wash."
}
],
"She's": [
{
"L": "-PRON-",
@ -1885,11 +1901,6 @@
"F": "e.g."
}
],
":]": [
{
"F": ":]"
}
],
"\t": [
{
"pos": "SP",
@ -2581,14 +2592,23 @@
"F": "'re"
}
],
"3a.m.": [
{
"F": "3"
},
{
"F": "a.m."
}
],
"^_^": [
{
"F": "^_^"
}
],
"I.e.": [
"\u2018S": [
{
"F": "I.e."
"L": "'s",
"F": "\u2018S"
}
],
"9p.m.": [
@ -2719,9 +2739,10 @@
"pos": "VB"
}
],
"Wash.": [
"\u2018s": [
{
"F": "Wash."
"L": "'s",
"F": "\u2018s"
}
],
"Couldntve": [
@ -3249,9 +3270,9 @@
"F": "o."
}
],
":')": [
":]": [
{
"F": ":')"
"F": ":]"
}
],
"needn't": [
@ -3535,13 +3556,9 @@
"F": "am"
}
],
"11am": [
":P": [
{
"F": "11"
},
{
"L": "a.m.",
"F": "am"
"F": ":P"
}
],
"Why'll": [
@ -4363,12 +4380,9 @@
"pos": "MD"
}
],
"3a.m.": [
"I.e.": [
{
"F": "3"
},
{
"F": "a.m."
"F": "I.e."
}
],
"Shes": [
@ -4406,6 +4420,11 @@
"F": "Apr."
}
],
":')": [
{
"F": ":')"
}
],
"Conn.": [
{
"F": "Conn."