From: Yoshito Umaoka Example of usage of the transformation engine: Example of usage of the transformation engine:
+ *
* BidiTransform bidiTransform = new BidiTransform();
* String in = "abc \u06f0123"; // "abc \\u06f0123"
@@ -197,7 +197,6 @@ public class BidiTransform
* ArabicShaping.DIGITS_EN2AN | ArabicShaping.DIGIT_TYPE_AN_EXTENDED);
* // Result: "abc \\u06f4\\u06f1\\u06f2\\u06f3"
*
- *
- * Note:
When the specified zeroDigit is a Unicode decimal digit character + * Note: When the specified zeroDigit is a Unicode decimal digit character * (category:Nd) and the number value is 0, then this method propagate digit 1 to * digit 9 by incrementing code point one by one. * diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/SpoofChecker.java b/icu4j/main/classes/core/src/com/ibm/icu/text/SpoofChecker.java index a7ad518105a..a80ba9efebf 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/SpoofChecker.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/SpoofChecker.java @@ -98,7 +98,6 @@ import com.ibm.icu.util.ULocale; * shown below: * *
- *
* // Setup:
* String[] DICTIONARY = new String[]{ "lorem", "ipsum" }; // example
* SpoofChecker sc = new SpoofChecker.Builder().setChecks(SpoofChecker.CONFUSABLE).build();
@@ -110,7 +109,6 @@ import com.ibm.icu.util.ULocale;
* // Live Check:
* boolean result = skeletons.contains(sc.getSkeleton("1orern"));
* System.out.println(result); // true
- *
*
*
*
@@ -124,7 +122,6 @@ import com.ibm.icu.util.ULocale;
* The following snippet shows a minimal example of using SpoofChecker
to perform spoof detection on a
* string:
*
- *
*
*
*
* SpoofChecker sc = new SpoofChecker.Builder()
* .setAllowedChars(SpoofChecker.RECOMMENDED.cloneAsThawed().addAll(SpoofChecker.INCLUSION))
@@ -134,7 +131,6 @@ import com.ibm.icu.util.ULocale;
* boolean result = sc.failsChecks("pаypаl"); // with Cyrillic 'а' characters
* System.out.println(result); // true
*
- *
* As in the case for confusability checking, it is good practice to create one SpoofChecker
instance at