Emojify.NET
1.0.0
See the version list below for details.
dotnet add package Emojify.NET --version 1.0.0
NuGet\Install-Package Emojify.NET -Version 1.0.0
<PackageReference Include="Emojify.NET" Version="1.0.0" />
<PackageVersion Include="Emojify.NET" Version="1.0.0" />
<PackageReference Include="Emojify.NET" />
paket add Emojify.NET --version 1.0.0
#r "nuget: Emojify.NET, 1.0.0"
#addin nuget:?package=Emojify.NET&version=1.0.0
#tool nuget:?package=Emojify.NET&version=1.0.0
Emojify.NET - Emoji-Based Message Categorization 🏷️🔍
Introduction
Emoji-Based Message Categorization is a .NET class library designed to enhance text communication by categorizing messages into predefined types and formatting them with relevant emojis. This project leverages a machine learning model to predict categories and assign appropriate emojis, making messages more engaging and visually informative.
Features
- ✅ Machine learning model for message categorization.
- ✅ .NET class library for text formatting with emojis.
- ✅ ONNX model export for efficient deployment.
🛠️ How It Works
- Training: The model is trained using labeled messages (text, emoji).
- Deployment: The trained model is exported as an ONNX file for efficient deployment.
- Prediction: The .NET class library takes text input, predicts the category using the model, and assigns the corresponding emojis.
- Output: The formatted message is returned with the correct emoji(s).
Usage
To use the Emoji-Based Message Categorization library in your .NET project:
You can either predict the emoji for a sentence and use it as needed:
var predictor = new EmojiPredictor();
var emoji = predictor.PredictEmoji("Successfully run the predictor!");
// Use the emoji as required in your text
Console.WriteLine($"Successfully run the predictor! {emoji}");
Successfully run the predictor! ✅
Or initialize the service to automatically attach to the Console.Out
and format your console output with emojis:
EmojifyService.Initialize();
Console.WriteLine("Error! The predictor failed to run");
Console.WriteLine("Warning! The predictor is not running");
Error! The predictor failed to run ❌
Warning! The predictor is not running ⚠️
🚀 Roadmap
- Optimize emoji selection logic
- Expand category support
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. 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. |
-
net9.0
- Microsoft.ML.OnnxRuntime (>= 1.21.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.