SyllabaryQuizGenerator 2024.2.1.1416
dotnet add package SyllabaryQuizGenerator --version 2024.2.1.1416
NuGet\Install-Package SyllabaryQuizGenerator -Version 2024.2.1.1416
<PackageReference Include="SyllabaryQuizGenerator" Version="2024.2.1.1416" />
<PackageVersion Include="SyllabaryQuizGenerator" Version="2024.2.1.1416" />
<PackageReference Include="SyllabaryQuizGenerator" />
paket add SyllabaryQuizGenerator --version 2024.2.1.1416
#r "nuget: SyllabaryQuizGenerator, 2024.2.1.1416"
#:package SyllabaryQuizGenerator@2024.2.1.1416
#addin nuget:?package=SyllabaryQuizGenerator&version=2024.2.1.1416
#tool nuget:?package=SyllabaryQuizGenerator&version=2024.2.1.1416
(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 | Versions 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. |
-
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 |