SyllabaryQuizGenerator 2024.2.1.1416

dotnet add package SyllabaryQuizGenerator --version 2024.2.1.1416
                    
NuGet\Install-Package SyllabaryQuizGenerator -Version 2024.2.1.1416
                    
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="SyllabaryQuizGenerator" Version="2024.2.1.1416" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SyllabaryQuizGenerator" Version="2024.2.1.1416" />
                    
Directory.Packages.props
<PackageReference Include="SyllabaryQuizGenerator" />
                    
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 SyllabaryQuizGenerator --version 2024.2.1.1416
                    
#r "nuget: SyllabaryQuizGenerator, 2024.2.1.1416"
                    
#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.
#:package SyllabaryQuizGenerator@2024.2.1.1416
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SyllabaryQuizGenerator&version=2024.2.1.1416
                    
Install as a Cake Addin
#tool nuget:?package=SyllabaryQuizGenerator&version=2024.2.1.1416
                    
Install as a Cake Tool

(Project URL) [https://github.com/yevgeller/SyllabaryQuizGenerator/tree/master]

This package generates quizzes for Japanese syllabary. It allows for testing between Katakana, Hiragana, and Transliteration.

Output is expected as List<QuizItem>, with QuizItem having the following elements:

public class QuizItem
{
    //unique question id
    public int Id { get; set; } = 0;
    //pointer to the next question
    public int NextQuizItemId { get; set; } = 0;
    //the actual question, string that shows the assignment, what user has to answer correctly
    public string? Question { get; set; }
    //unique number identifying the Syllabary item
    public int OrdinalNumber { get; set; }
    //type of question, of type QuizType
    public QuizType QuizType { get; set; } 
    //correct answer
    public string? CorrectAnswer { get; set; } 
    //list of answers, usually the same type of syllabary
        //(Katakana, Hiragana, or transliteration) as the actual question
    public List<string> Answers { get; set; } = new List<string>();
}

//QuizType enum
public enum QuizType
{
    TransliterationToHiragana = 0,
    TransliterationToKatakana,
    HiraganaToTransliteration,
    KatakanaToTransliteration,
    HiraganaToKatakana,
    KatakanaToHiragana,
    Random
}

To get the list of quiz items, call the following method on SyllabaryQuizGenerator.QuizGenerator

public List<QuizItem> GenerateQuizItems(int number,
                                    QuizType quizType = QuizType.TransliterationToKatakana,
                                    int numberOfPossibleAnswers = 4)

Also available the list of all Syllabary characters by calling this method:

    public List<SyllabaryCharacter> GetAllSyllabaryCharacters()
    {
        return Syllabary.GetSyllabaryCharacters();
    }

It returns a list of items of the following type:

public class SyllabaryCharacter
{
    public string Hiragana { get; set; } 
    public string Katakana { get; set; }
    public string Transliteration { get; set; }
    public int UniqueId { get; set; }
    public bool IsDigraph { get; set; } = false; //Future expansion
    public bool IsWithDiacritics { get; set; } = false; //future expansion
}
Product Compatible and additional computed target framework versions.
.NET 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.  net9.0 was computed.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.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
2024.2.1.1416 159 2/1/2024
2024.1.30.1634 131 1/30/2024
2024.1.29.1602 125 1/29/2024
2024.1.26.1555 129 1/26/2024
2024.1.7.1536 188 1/7/2024
2023.10.24.2129 229 10/25/2023