mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-12549 Small documentation and comment fixes in C++ SpoofChecker
X-SVN-Rev: 39328
This commit is contained in:
parent
602c875b31
commit
576a124b1b
2 changed files with 4 additions and 7 deletions
|
@ -130,7 +130,7 @@
|
|||
*
|
||||
* <p>
|
||||
* If you need to check if a string is confusable with any string in a dictionary of many strings, rather than calling
|
||||
* {uspoof_areConfusable} many times in a loop, {uspoof_getSkeleton} can be used instead, as shown below:
|
||||
* {@link uspoof_areConfusable} many times in a loop, {@link uspoof_getSkeleton} can be used instead, as shown below:
|
||||
*
|
||||
* \code{.c}
|
||||
* UErrorCode status = U_ZERO_ERROR;
|
||||
|
@ -436,7 +436,7 @@ typedef enum USpoofChecks {
|
|||
/**
|
||||
* This flag is deprecated and no longer affects the behavior of SpoofChecker.
|
||||
*
|
||||
* @deprecated ICU 58 This API was deprecated in UTS 39 Version 8 and is no longer used.
|
||||
* @deprecated ICU 58 Any case confusable mappings were removed from UTS 39; the corresponding ICU API was deprecated.
|
||||
*/
|
||||
USPOOF_ANY_CASE = 8,
|
||||
#endif /* U_HIDE_DEPRECATED_API */
|
||||
|
@ -1243,7 +1243,8 @@ uspoof_getCheckResultRestrictionLevel(const USpoofCheckResult *checkResult, UErr
|
|||
|
||||
/**
|
||||
* Gets the set of numerics found in the string, if the USPOOF_MIXED_NUMBERS check was enabled;
|
||||
* otherwise, undefined. Ownership of the returned USet remains with the USpoofCheckResult.
|
||||
* otherwise, undefined. The set will contain the zero digit from each decimal number system found
|
||||
* in the input string. Ownership of the returned USet remains with the USpoofCheckResult.
|
||||
* The USet will be free'd when {@link uspoof_closeCheckResult} is called.
|
||||
*
|
||||
* @param checkResult The instance of USpoofCheckResult created by {@link uspoof_openCheckResult}
|
||||
|
|
|
@ -154,10 +154,6 @@ public:
|
|||
// The strings table contains all of the value strings (those of length two or greater)
|
||||
// concatentated together into one long UChar (UTF-16) array.
|
||||
//
|
||||
// The array is arranged by length of the strings - all strings of the same length
|
||||
// are stored together. The sections are ordered by length of the strings -
|
||||
// all two char strings first, followed by all of the three Char strings, etc.
|
||||
//
|
||||
// There is no nul character or other mark between adjacent strings.
|
||||
//
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue