Search packages, repositories and app categories

Package detailsv1.0.0

tiengviet

Converts vietnamese language sign to unsigned easily. Give me a string vietnamese language, i will respond you string vietnamese unsigned.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
2.2K
Likes
87
Pub points
150

Install package

flutter pub add tiengviet

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The tiengviet package is a Flutter/Dart utility designed to convert Vietnamese text with diacritical marks (accented characters) into their corresponding unaccented versions. It simplifies processing and comparison of Vietnamese strings by removing tones and special characters, making it ideal for search functions, data normalization, or user input handling. The package supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux, ensuring cross-platform consistency. It is lightweight and easy to integrate via pub.dev.

Use cases

  • Text normalization for Vietnamese users
  • Search functionality with accent-insensitive matching
  • Data cleaning before storage or comparison
  • User input processing in Vietnamese apps
  • Simplifying Vietnamese string comparisons

Key features

  • Removes diacritics from Vietnamese text
  • Cross-platform compatibility
  • Simple API with minimal setup
  • Supports all standard Vietnamese accents
  • Lightweight and efficient

Suitable for

  • Vietnamese language applications
  • Internationalized apps targeting Vietnam
  • Text processing tools
  • Form validation and input sanitization
  • Backend services handling Vietnamese data

Considerations

  • Does not handle complex linguistic rules beyond accent removal
  • May not preserve semantic meaning after stripping accents
  • Limited to basic Vietnamese character transformation
  • Not suitable for advanced NLP tasks
  • Requires manual testing for edge cases in Vietnamese text

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

tiengviet

Convert vietnamese sign to unsign easily like eat 🥞🥞🥞.

Build Status Contribute GitHub Hits-of-Code Pub Version

🇻🇳 Công cụ chuyển đổi Tiếng Việt có dấu sang không dấu dễ hơn là ăn bánh 🥞🥞🥞🥞.

Getting Started
Install
dependencies:
  tiengviet: ^1.0.0

You can install packages from the command line:

pub get
-- or --
flutter pub get
Usage
import 'package:tiengviet/tiengviet.dart';

print(TiengViet.parse('Xin chào việt nam')); // Xin chao viet nam
Performance

Words VietnameseParserEngine (µs) VietnameseParserEngine2 (µs)
172 (~814 chars) 18,751 2,362
1k (~6860 chars) 25,421 10,538
2k (~9269 chars) 91,743 19,600
4.5k (~21k chars) 137,592 30,577
You might also like
  • vietnamese - ✂️🇻🇳 A helpful tool for removing Vietnamese accents.
  • tiengviet-rust - 🦀 Vietnamese parser engine written by Rust
Contributors
Vi Chi Thien
Vi Chi Thien
License

BSD 3-Clause @tvc12

Categories

Source repository

Projects using this package

No data available yet.