Content Component 25.2
Content Component Help

# NGram

The size of the character N-grams to use to tokenize Asian text.

NOTE: You must not use `NGram` with the SentenceBreaking configuration parameter.

If you set `NGram` for Japanese, you can use SentenceBreakingOptions for normalization.

Type: | Long
Default: | `0` (off)
Required: | No
Configuration Section: | LanguageTypes or `MyLanguage`
Example: | `Encodings=UTF8:JapaneseUTF8 NGram=2` In this example, all text is indexed as N-grams of two characters.
See Also: | NGramMultiByteOnly NGramSentenceBrokenScriptOnly SentenceBreaking SentenceBreakingOptions

NOTE: If you change this setting after you have indexed content into the Content component, the new setting applies only to new content, and the server logs a warning. To clear the warning and ensure that your change applies to all your content, you must initialize your index and reindex the content.

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Content Component 25.2

Topic Title: NGram