Giter Club home page Giter Club logo

Comments (4)

nguyentranchung avatar nguyentranchung commented on September 24, 2024 1

Theo wiki https://vi.wikipedia.org/wiki/Ch%E1%BB%AF_s%E1%BB%91_Vi%E1%BB%87t_Nam

Khi đứng ở hàng đơn vị của các số từ 21 đến 91, 4 có thể được đọc là "tư"

Vậy "tư" là cách đọc khác cùng ngữ nghĩa, chứ độ ưu tiên của nó vẫn sau "bốn"

from number-to-words.

vuongxuongminh avatar vuongxuongminh commented on September 24, 2024

Khi mình xây dựng thư viện này mình đã kham khảo bài viết sau: https://vndoc.com/cach-doc-viet-dung-so-tu-nhien/download trong trường hợp với số 4 nhiều nơi đọc là hai mươi tư, ba mươi tư nhưng với mình thì vẫn đọc là bốn như mô tả của bạn. Do đặc tính Tiếng Việt phong phú nên mình đã xây dựng mẫu trừu tượng DictionaryInterface dành cho trường hợp muốn implement lại cách đọc, còn về standard thì mình đang dựa vào bài mô tả trên.

from number-to-words.

nguyentranchung avatar nguyentranchung commented on September 24, 2024

Khi số 4 xuất hiện ở hàng đơn vị mà hàng chục không phải là 0, 1 thì sử dụng từ Hán Việt "tư/四".

from number-to-words.

vuongxuongminh avatar vuongxuongminh commented on September 24, 2024

Bạn nói đúng, độ ưu tiên của "tư" nên sau "bốn", cảm ơn bạn. Bạn có muốn tạo PR để đóng góp không?

from number-to-words.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.