CrypticWizard.RandomWordGenerator
0.9.3
Prefix Reserved
.NET 5.0
.NET Core 3.1
Install-Package CrypticWizard.RandomWordGenerator -Version 0.9.3
dotnet add package CrypticWizard.RandomWordGenerator --version 0.9.3
<PackageReference Include="CrypticWizard.RandomWordGenerator" Version="0.9.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CrypticWizard.RandomWordGenerator --version 0.9.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CrypticWizard.RandomWordGenerator, 0.9.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CrypticWizard.RandomWordGenerator as a Cake Addin
#addin nuget:?package=CrypticWizard.RandomWordGenerator&version=0.9.3
// Install CrypticWizard.RandomWordGenerator as a Cake Tool
#tool nuget:?package=CrypticWizard.RandomWordGenerator&version=0.9.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
random-word-generator
Description
- A random word generator for .NET and .NET Core
- Useful for:
- Username generation
- Random word stories
Tests
Usage
Install Package:
dotnet add package CrypticWizard.RandomWordGenerator
<PackageReference Include="CrypticWizard.RandomWordGenerator" Version="0.9.3"/>
Include Package:
using CrypticWizard.RandomWordGenerator;
using static CrypticWizard.RandomWordGenerator.WordGenerator; //for brevity, not required
GetWord( )
WordGenerator myWordGenerator = new WordGenerator();
string word = myWordGenerator.GetWord(PartOfSpeech.noun);
jewel
GetWords( )
WordGenerator myWordGenerator = new WordGenerator();
List<string> advs = myWordGenerator.GetWords(PartOfSpeech.adv, 5);
abnormally
boastfully
daintily
shakily
surprisingly
IsWord ()
WordGenerator myWordGenerator = new WordGenerator();
bool isWord = myWordGenerator.IsWord("exemplary");
true
IsPartOfSpeech( )
WordGenerator myWordGenerator = new WordGenerator();
bool isPartOfSpeech = myWordGenerator.IsPartOfSpeech("ball", PartOfSpeech.noun);
true
GetPatterns( )
WordGenerator myWordGenerator = new WordGenerator();
List<PartOfSpeech> pattern = new List<PartOfSpeech>();
pattern.Add(PartOfSpeech.adv);
pattern.Add(PartOfSpeech.adj);
pattern.Add(PartOfSpeech.noun);
List<string> patterns = myWordGenerator.GetPatterns(pattern, ' ', 10);
clearly calm bandana
doubtfully majestic pizza
faithfully acidic bat
freely bustling earthquake
hastily corrupt cake
jealously poised harmony
lively golden lizard
mechanically foolish mitten
successfully spherical scooter
upbeat salty soldier
Features
Recently Added
- v0.9.3 - package prefix
- v0.9.2 - IsWord()
Planned Features
- Other languages are not planned but can be added as .txt files in a folder of the language abreviation
- ES
- FR
- etc.
Tools
License
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp3.1 |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- No dependencies.
-
net5.0
- No dependencies.
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.9.3 | 368 | 10/12/2021 |
Added package prefix