MyanmarTools.NET
1.0.1
dotnet add package MyanmarTools.NET --version 1.0.1
NuGet\Install-Package MyanmarTools.NET -Version 1.0.1
<PackageReference Include="MyanmarTools.NET" Version="1.0.1" />
<PackageVersion Include="MyanmarTools.NET" Version="1.0.1" />
<PackageReference Include="MyanmarTools.NET" />
paket add MyanmarTools.NET --version 1.0.1
#r "nuget: MyanmarTools.NET, 1.0.1"
#:package MyanmarTools.NET@1.0.1
#addin nuget:?package=MyanmarTools.NET&version=1.0.1
#tool nuget:?package=MyanmarTools.NET&version=1.0.1
Myanmar Tools C# Documentation
This documentation is for C# specific usage of Myanmar Tools. See https://github.com/google/myanmar-tools/ for more.
Usage
To detect Zawgyi, create a instance of ZawgyiDetector, and call GetZawgyiProbability with your string.
var detector = new ZawgyiDetector();
double score = detector.GetZawgyiProbability("မ္း");
// score is now 0.999772 (very likely Zawgyi)
To convert between Zawgyi and Unicode, use the classe ZawgyiConverter as shown below.
var converter= new ZawgyiConverter();
// Zawgyi to Unicode
string uniOutput = converter.ZawgyiToUnicode('မ္း');
// uniOutput is now 'မ်း'
// Unicode to Zawgyi
string zawOutput = converter.UnicodeToZawgyi('မ်း');
// zawOutput is now 'မ္း'
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/google/myanmar-tools . This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The package is available as open source under the terms of the Apache-2.0 License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. |
-
net8.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 |
|---|---|---|
| 1.0.1 | 3,971 | 11/28/2025 |
Initial build with unnecessary code removed, keeping only the C# implementation
Upgraded to .NET 8
Embedded resource files into the package for easier usage
Updated the Predict method to return values rounded to three decimal places for consistency and comparison