Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
81 lines (81 sloc) 1.9 KB
{
"configuration": {
"coreference": {
"rules": [
{
"type": "chunking",
"chunk": [
{
"tag": "PRP",
"type": "coreference",
"pattern": "PRP:{<PRP>+}"
},
{
"tag": "NAME",
"type": "reference",
"pattern": "NAME:{<NNP>+}"
}
]
}
]
},
"relations": {
"rules": [
{
"type": "d_regex",
"d_regex": [
{
"tag": "bornAt",
"pattern": ".*(<Person:.*?>).*(born|born at| born in).*(<Location:.*?>).*"
}
]
},
{
"type": "d_regex",
"d_regex": [
{
"tag": "taughtAt",
"pattern": ".*(<Person:.*?>).*(taught at|taught in).*(<Organization:.*?>).*"
}
]
},
{
"type": "d_regex",
"d_regex": [
{
"tag": "sonOf",
"pattern": ".*(<Person:.*?>).*(son of).*(<Person:.*?>).*"
}
]
},
{
"type": "d_regex",
"d_regex": [
{
"tag": "workedFor",
"pattern": ".*(<Person:.*?>).*(worked for).*(<Organization:.*?>).*"
}
]
},
{
"type": "d_regex",
"d_regex": [
{
"tag": "spouseOf",
"pattern": ".*(<Person:.*?>).*(married|spouse).*(<Person:.*?>).*"
}
]
},
{
"type": "d_regex",
"d_regex": [
{
"tag": "educatedAt",
"pattern": ".*(<Person:.*?>).*(student of|studied in).*(<Organization:.*?>).*"
}
]
}
]
}
}
}
You can’t perform that action at this time.