GrammarSharp.Russian 0.3.0

dotnet add package GrammarSharp.Russian --version 0.3.0
                    
NuGet\Install-Package GrammarSharp.Russian -Version 0.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GrammarSharp.Russian" Version="0.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GrammarSharp.Russian" Version="0.3.0" />
                    
Directory.Packages.props
<PackageReference Include="GrammarSharp.Russian" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GrammarSharp.Russian --version 0.3.0
                    
#r "nuget: GrammarSharp.Russian, 0.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=GrammarSharp.Russian&version=0.3.0
                    
Install GrammarSharp.Russian as a Cake Addin
#tool nuget:?package=GrammarSharp.Russian&version=0.3.0
                    
Install GrammarSharp.Russian as a Cake Tool

GrammarSharp.Russian

Latest NuGet version MIT License

Provides a bunch of classes, structures and methods pertaining to Russian declension of nouns, adjectives and pronouns.

Example

Simply grab a noun's declension class, and decline the word however you like!

var noun = new RussianNoun("зверёк", new("мо 3*b"));

_ = noun.Decline(RussianCase.Dative, plural: false); // "зверьку"
_ = noun.Decline(RussianCase.Dative, plural: true); // "зверькам"

You can find declension classes for words in Zaliznyak's online dictionary, or on Wiktionary.

For quick reference, you can use this short summary of Zaliznyak's classification.

Some more examples

var noun = new RussianNoun("карько", new("мо <со 3*b(1)(2)>"));

_ = noun.Decline(RussianCase.Nominative, plural: true); // "карьки"
_ = noun.Decline(RussianCase.Genitive, plural: true); // "карьков"
var noun = new RussianNoun("сестра", new("жо 1*d, ё"));
var adjective = new RussianAdjective("строгий", new("п 3a/c'"));

Console.WriteLine(
  adjective.Decline(RussianCase.Dative, plural: false, noun.Info.Properties) + " " +
  noun.Decline(RussianCase.Dative, plural: false)
);
// Output: "строгой сестре"

Console.WriteLine(
  adjective.Decline(RussianCase.Instrumental, plural: true, noun.Info.Properties) + " " +
  noun.Decline(RussianCase.Instrumental, plural: true)
);
// Output: "строгими сёстрами"
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.0 146 4/8/2025
0.2.0 107 4/4/2025
0.1.0 94 3/29/2025