Module:vi/documentation

Hello, you have come here looking for the meaning of the word Module:vi/documentation. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:vi/documentation, but we will also tell you about its etymology, its characteristics and you will know how to say Module:vi/documentation in singular and plural. Everything you need to know about the word Module:vi/documentation you have here. The definition of the word Module:vi/documentation will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:vi/documentation, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This module provides lexicographic tools for Vietnamese language text.

Usage

In a template:

  • {{#invoke:vi|toReformedTones|xóa}} → xoá
  • {{#invoke:vi|toTraditionalTones|xoá}} → xóa
  • {{#invoke:vi|removeDiacritics|thay đổi gần đây}} → thay doi gan day
  • {{#invoke:vi|removeDiacritics|thay đổi gần đây|tones=0}} → thay dỏi gàn day
  • {{#invoke:vi|removeDiacritics|thay đổi gần đây|accents=0}} → thay dôi gân dây
  • {{#invoke:vi|removeDiacritics|thay đổi gần đây|đ=0}} → thay đoi gan đay

In another module:

viet = require "Module:vi"

t = {"an ninh", "bóng rổ", "Ả Rập", "bóng đá", "ăn", "Á Châu"}
table.sort(t, viet.comp)

causes t to hold:

Ả Rập, Á Châu, an ninh, ăn, bóng đá, bóng rổ

For best results, call _toTraditionalTones() or _toReformedTones() on each string before sorting them using comp().