Class Diff
The Diff object generates a patch string.
A patch string is actually a command to a stemmer telling it how to reduce a word to its root. For example, to reduce the word teacher to its root teach the patch string Db would be generated. This command tells the stemmer to delete the last 2 characters from the word teacher to reach the stem (the patch commands are applied starting from the last character in order to save
Inheritance
System.Object
Diff
Assembly: Lucene.Net.Analysis.Stempel.dll
Syntax
public class Diff : object
Constructors
Name | Description |
---|---|
Diff() | Constructor for the Diff object. |
Diff(Int32, Int32, Int32, Int32) | Constructor for the Diff object |
Methods
Name | Description |
---|---|
Apply(StringBuilder, String) | Apply the given patch string |
Exec(String, String) | Construct a patch string that transforms a to b. |