Partilhar via


WordSplitBehavior Enum

Definition

Behavior to use while splitting words in string differencing.

public enum class WordSplitBehavior
public enum class WordSplitBehavior
enum WordSplitBehavior
public enum WordSplitBehavior
type WordSplitBehavior = 
Public Enum WordSplitBehavior
Inheritance
WordSplitBehavior

Fields

Name Value Description
CharacterClass 0

Split words by character class.

Default 0

Split words by CharacterClass.

WhiteSpace 1

Split the text into words by whitespace only.

WhiteSpaceAndPunctuation 2

Split the text into words by whitespace and punctuation/symbols.

LanguageAppropriate 3

Split the text into language-appropriate words.

Remarks

Word split logic uses the following character classes: 1) whitespace and control characters, 2) numbers/digits, 3) punctuation/symbols, 4) letters.

Applies to