602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
|
['.', '_'], ['·', '_'],
['–', '_'], ['—', '_'],
['/', '_']
]);
function normalizeInclusiveWriting (sToken) {
let sRes = "";
console.log("==== " + sToken);
for (let c of sToken) {
if (_dNormalizedCharsForInclusiveWriting.has(c)) {
sRes += _dNormalizedCharsForInclusiveWriting.get(c);
} else {
sRes += c;
}
}
console.log(">>>> " + sRes);
return sRes;
}
|
<
<
|
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
|
['.', '_'], ['·', '_'],
['–', '_'], ['—', '_'],
['/', '_']
]);
function normalizeInclusiveWriting (sToken) {
let sRes = "";
for (let c of sToken) {
if (_dNormalizedCharsForInclusiveWriting.has(c)) {
sRes += _dNormalizedCharsForInclusiveWriting.get(c);
} else {
sRes += c;
}
}
return sRes;
}
|