-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
344 additions
and
409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,15 +65,16 @@ created by Leo Galambos ([email protected]). | |
namespace Egothor.Stemmer | ||
{ | ||
/// <summary> | ||
/// <para> | ||
/// LUCENENET specific: This class is not for direct use. In the Java implementation | ||
/// it's Main method was intended to be called from the command line. However in .NET a | ||
/// method within a DLL can't be directly called from the command line so we | ||
/// provide a <see href="https://www.nuget.org/packages/lucene-cli">lucene-cli</see> | ||
/// with a command that maps to that method: analysis stempel-patch-stems. | ||
/// </para> | ||
/// The DiffIt class is a means generate patch commands from an already prepared | ||
/// stemmer table. | ||
/// <para /> | ||
/// LUCENENET specific: In the Java implementation, this class' Main method | ||
/// was intended to be called from the command line. However, in .NET a | ||
/// method within a DLL can't be directly called from the command line so we | ||
/// provide a <see href="https://learn.microsoft.com/en-us/dotnet/core/tools/global-tools">.NET tool</see>, | ||
/// <see href="https://www.nuget.org/packages/lucene-cli">lucene-cli</see>, | ||
/// with a command that maps to that method: | ||
/// analysis stempel-patch-stems | ||
/// </summary> | ||
public static class DiffIt // LUCENENET specific: CA1052 Static holder types should be Static or NotInheritable | ||
{ | ||
|
@@ -89,19 +90,19 @@ internal static int Get(int i, string s) | |
} | ||
|
||
/// <summary> | ||
/// <para> | ||
/// LUCENENET specific: This method is not for direct use. In the Java implementation | ||
/// it was intended to be called from the command line. However in .NET a | ||
/// method within a DLL can't be directly called from the command line so we | ||
/// provide a <see href="https://www.nuget.org/packages/lucene-cli">lucene-cli</see> | ||
/// with a command that maps to this method: analysis stempel-patch-stems. | ||
/// </para> | ||
/// Entry point to the DiffIt application. | ||
/// <para> | ||
/// <para /> | ||
/// This application takes one argument, the path to a file containing a | ||
/// stemmer table. The program reads the file and generates the patch commands | ||
/// for the stems. | ||
/// </para> | ||
/// <para /> | ||
/// LUCENENET specific: In the Java implementation, this Main method | ||
/// was intended to be called from the command line. However, in .NET a | ||
/// method within a DLL can't be directly called from the command line so we | ||
/// provide a <see href="https://learn.microsoft.com/en-us/dotnet/core/tools/global-tools">.NET tool</see>, | ||
/// <see href="https://www.nuget.org/packages/lucene-cli">lucene-cli</see>, | ||
/// with a command that maps to this method: | ||
/// analysis stempel-patch-stems | ||
/// </summary> | ||
/// <param name="args">the path to a file containing a stemmer table</param> | ||
public static void Main(string[] args) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.