feat(classifier): add multilingual ECP inherence classifier POC
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Electronics Assembly Expansion
|
||||
Foxconn is expanding its major manufacturing plants to boost production capacity for consumer electronics devices.
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"expected_decision": "CONTEXTUAL_INHERENT",
|
||||
"expected_is_inherent": true,
|
||||
"expected_language": "en",
|
||||
"min_confidence": 0.70
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
# Apple Unveils Next-Generation iPhone
|
||||
|
||||
Apple announced its flagship iPhone today, featuring an advanced custom silicon chip and upgraded camera hardware.
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"expected_decision": "DIRECT_INHERENT",
|
||||
"expected_is_inherent": true,
|
||||
"expected_language": "en",
|
||||
"min_confidence": 0.85
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"target_entity_id": "ent_apple_en",
|
||||
"target_name": "Apple",
|
||||
"aliases": ["Apple Inc.", "Apple"],
|
||||
"domain": "Technology & Consumer Electronics",
|
||||
"anchors": ["iPhone", "MacBook", "iOS", "silicon", "hardware", "smartphone", "consumer electronics", "manufacturing"],
|
||||
"negative_anchors": [
|
||||
"apple pie",
|
||||
"apple pie recipe",
|
||||
"orchard harvest"
|
||||
],
|
||||
"graph_version": "1.0.0",
|
||||
"related_entities": [
|
||||
{
|
||||
"entity_id": "ent_foxconn_en",
|
||||
"name": "Foxconn",
|
||||
"relation_type": "MANUFACTURER_FOR",
|
||||
"weight": 0.85,
|
||||
"scope": "manufacturing"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
# Classic Apple Pie Baking Guide
|
||||
Mix sliced cinnamon apples with brown sugar and butter before placing inside the homemade flaky apple pie crust.
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"expected_decision": "NOT_RELATED",
|
||||
"expected_is_inherent": false,
|
||||
"expected_language": "en",
|
||||
"min_confidence": 0.85
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
# Morning City Walk
|
||||
While walking through the park downtown, we noticed an Apple poster near the transit stop before heading into the coffee shop.
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"expected_decision": "TANGENTIAL",
|
||||
"expected_is_inherent": false,
|
||||
"expected_language": "en",
|
||||
"min_confidence": 0.30
|
||||
}
|
||||
Reference in New Issue
Block a user