E2BWordBank 1.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package E2BWordBank --version 1.0.6                
NuGet\Install-Package E2BWordBank -Version 1.0.6                
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="E2BWordBank" Version="1.0.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add E2BWordBank --version 1.0.6                
#r "nuget: E2BWordBank, 1.0.6"                
#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.
// Install E2BWordBank as a Cake Addin
#addin nuget:?package=E2BWordBank&version=1.0.6

// Install E2BWordBank as a Cake Tool
#tool nuget:?package=E2BWordBank&version=1.0.6                

E2BWordBank : Overview

The E2BWordBank package provides a comprehensive English-to-Bangla word database for easy integration into .NET applications.

Source Code

Project Link: https://github.com/faisalcse1/E2BWordBank

Installation

NuGet\Install-Package E2BWordBank

Features

GetAllWords();
GetWordsStartingWith(string prefix, WordType type= WordType.En);
FindWord(string prefix, WordType type = WordType.En);

WordRepository

A simple dictionary repository class that allows for managing and retrieving words from a word database. The class provides methods for retrieving all words, filtering words based on a prefix, and finding a single word that exactly matches a given prefix.

Methods

1. GetAllWords()

  • Description: Retrieves all words from the dictionary.
  • Returns: A list of Word objects containing all available words in the dictionary.

2. GetWordsStartingWith(string prefix, WordType type = WordType.En)

  • Description: Retrieves words that start with the specified prefix and match the given word type.
  • Parameters:
    • prefix (string): The starting substring to filter words by.
    • type (WordType): The category of words to retrieve (e.g., WordType.En for English & WordType.Bn for Bangla). Defaults to WordType.En (English).
  • Returns: A list of Word objects that start with the specified prefix and match the given type.

3. FindWord(string prefix, WordType type = WordType.En)

  • Description: Finds a single word that exactly matches the specified prefix and type.
  • Parameters:
    • prefix (string): The exact word or substring to match.
    • type (WordType): The type/category of the word to retrieve (default is WordType.En for English).
  • Returns: A single Word object that matches the exact prefix and type. Returns null if no match is found.

Key Notes

  • Word Class: Represents a word in the dictionary. This class holds details about individual words in your dictionary, such as the word itself, its type, and any other related information.

  • WordType Enum: Differentiates between different types of words (e.g., English, Bengali). This allows filtering words by language or category.

  • Static Methods: All methods in the WordRepository class are static, meaning you can call them directly without creating an instance of the WordRepository class.

Example Usage

// Retrieve all words
List<Word> allWords = WordRepository.GetAllWords();

// Retrieve words starting with a specific prefix
List<Word> wordsStartingWithPrefix = WordRepository.GetWordsStartingWith("pro");

// Find a specific word by exact match
Word foundWord = WordRepository.FindWord("programming");
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 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
1.0.8 195 11/14/2024
1.0.7 152 11/13/2024
1.0.6 141 11/13/2024
1.0.5 151 11/13/2024
1.0.4 156 11/12/2024
1.0.3 120 11/12/2024
1.0.2 214 11/12/2024
1.0.1 93 11/12/2024