Skip to content

Commit

Permalink
Separators typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored and mmanela committed Jul 8, 2024
1 parent 194908c commit 9e164eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DiffPlex/Chunkers/WordChunker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
{
public class WordChunker:DelimiterChunker
{
private static char[] WordSeparaters { get; } = { ' ', '\t', '.', '(', ')', '{', '}', ',', '!', '?', ';' };
private static char[] WordSeparators { get; } = { ' ', '\t', '.', '(', ')', '{', '}', ',', '!', '?', ';' };

/// <summary>
/// Gets the default singleton instance of the chunker.
/// </summary>
public static WordChunker Instance { get; } = new WordChunker();

public WordChunker() : base(WordSeparaters)
public WordChunker() : base(WordSeparators)
{
}
}
Expand Down

0 comments on commit 9e164eb

Please sign in to comment.