Skip to content

Commit

Permalink
[.NET] Turkish-NumbersWithUnit suffixes (#1749)
Browse files Browse the repository at this point in the history
  • Loading branch information
aitelintII authored and tellarin committed Jul 30, 2019
1 parent 8a3cb89 commit 988ee9b
Show file tree
Hide file tree
Showing 6 changed files with 1,038 additions and 585 deletions.

Large diffs are not rendered by default.

736 changes: 451 additions & 285 deletions Patterns/Turkish/Turkish-NumbersWithUnit.yaml

Large diffs are not rendered by default.

33 changes: 32 additions & 1 deletion Specs/NumberWithUnit/Turkish/AgeModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@
},
{
"Input": "o 40 - 50 yaşında",
"NotSupported": "javascript, java",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
Expand All @@ -255,5 +254,37 @@
"End": 16
}
]
},
{
"Input": "Henüz 17 yaşındasın",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
"Text": "17 yaşındasın",
"TypeName": "age",
"Resolution": {
"unit": "Year",
"value": "17"
},
"Start": 6,
"End": 18
}
]
},
{
"Input": "Bebek 20 günlükmüş",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
"Text": "20 günlükmüş",
"TypeName": "age",
"Resolution": {
"unit": "Day",
"value": "20"
},
"Start": 6,
"End": 17
}
]
}
]
33 changes: 33 additions & 0 deletions Specs/NumberWithUnit/Turkish/CurrencyModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -1608,5 +1608,38 @@
"End": 11
}
]
},
{
"Input": "Fiyatı 100 avroydu",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
"Text": "100 avroydu",
"TypeName": "currency",
"Resolution": {
"value": "100",
"unit": "Euro",
"isoCurrency": "EUR"
},
"Start": 7,
"End": 17
}
]
},
{
"Input": "Fiyatı 50 dolardan başlıyor",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
"Text": "50 dolardan",
"TypeName": "currency",
"Resolution": {
"value": "50",
"unit": "Dollar"
},
"Start": 7,
"End": 17
}
]
}
]
43 changes: 33 additions & 10 deletions Specs/NumberWithUnit/Turkish/DimensionModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,6 @@
},
{
"Input": "1995 yılında Canon, dahili görüntü sabitleme özellikli ilk ticari slr lensi piyasaya sürdü, ef 75 -300 mm f / 4-5. 6 usm.",
"NotSupported": "java, javascript",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
Expand Down Expand Up @@ -770,7 +769,6 @@
},
{
"Input": "o bir mil sağlayabilir",
"NotSupported": "javascript, python, java",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
Expand All @@ -787,7 +785,6 @@
},
{
"Input": "Bu alan 20 kilometre kare büyüklüğündedir",
"NotSupported": "javascript, python, java",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
Expand All @@ -804,7 +801,6 @@
},
{
"Input": "Bu bölge iki hektometre kare büyüklüğe sahip",
"NotSupported": "javascript, python, java",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
Expand All @@ -821,7 +817,6 @@
},
{
"Input": "Bu bölge bir dekametre kare",
"NotSupported": "javascript, python, java",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
Expand All @@ -838,7 +833,6 @@
},
{
"Input": "o bir metre kare",
"NotSupported": "javascript, python, java",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
Expand All @@ -855,7 +849,6 @@
},
{
"Input": "Alanın büyüklüğü 100 desimetre kare",
"NotSupported": "javascript, python, java",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
Expand All @@ -870,9 +863,8 @@
}
]
},
{
{
"Input": "Burası sekiz santimetre kare",
"NotSupported": "javascript, python, java",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
Expand All @@ -889,7 +881,6 @@
},
{
"Input": "Burası beş milimetre kare",
"NotSupported": "javascript, python, java",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
Expand All @@ -903,5 +894,37 @@
}
}
]
},
{
"Input": "Burası beş akreden büyük",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
"Text": "beş akreden",
"Start": 7,
"End": 17,
"TypeName": "dimension",
"Resolution": {
"unit": "Acre",
"value": "5"
}
}
]
},
{
"Input": "On mililitrelik şişe",
"NotSupportedByDesign": "javascript, python, java",
"Results": [
{
"Text": "on mililitrelik",
"Start": 0,
"End": 14,
"TypeName": "dimension",
"Resolution": {
"unit": "Milliliter",
"value": "10"
}
}
]
}
]
32 changes: 32 additions & 0 deletions Specs/NumberWithUnit/Turkish/TemperatureModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -620,5 +620,37 @@
"End": 31
}
]
},
{
"Input": "Sıcaklık 20 fahrenhayttı",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
"Text": "20 fahrenhayttı",
"TypeName": "temperature",
"Resolution": {
"value": "20",
"unit": "F"
},
"Start": 9,
"End": 23
}
]
},
{
"Input": "Sıcaklık 25 derecenin üzerindeydi.",
"NotSupportedByDesign": "javascript,python,java",
"Results": [
{
"Text": "25 derecenin",
"TypeName": "temperature",
"Resolution": {
"value": "25",
"unit": "Degree"
},
"Start": 9,
"End": 20
}
]
}
]

0 comments on commit 988ee9b

Please sign in to comment.