+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
- * Copyright (C) 2005-2013, International Business Machines
+ * Copyright (C) 2005-2015, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*/
public:
NGramParser(const int32_t *theNgramList, const uint8_t *theCharMap);
+ virtual ~NGramParser();
private:
/*
};
+#if !UCONFIG_ONLY_HTML_CONVERSION
class NGramParser_IBM420 : public NGramParser
{
-private:
- int32_t alef;
- int32_t isLamAlef(int32_t b);
- int32_t nextByte(InputText *det);
- void parseCharacters(InputText *det);
-
public:
NGramParser_IBM420(const int32_t *theNgramList, const uint8_t *theCharMap);
+ ~NGramParser_IBM420();
+
+private:
+ int32_t alef;
+ int32_t isLamAlef(int32_t b);
+ int32_t nextByte(InputText *det);
+ void parseCharacters(InputText *det);
};
+#endif
class CharsetRecog_sbcs : public CharsetRecognizer
virtual UBool match(InputText *det, CharsetMatch *results) const;
};
+#if !UCONFIG_ONLY_HTML_CONVERSION
class CharsetRecog_IBM424_he : public CharsetRecog_sbcs
{
public:
virtual UBool match(InputText *det, CharsetMatch *results) const;
};
+#endif
U_NAMESPACE_END