Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
pinyin by Arne Brasseur
== DESCRIPTION:
Pinyin can convert between various systems for phonetically writing Mandarin Chinese. It can also handle various representation of tones, so it can be used to convert pinyin with numbers to pinyin with tones.
Supported formats include Hanyu Pinyin, Bopomofo, Wade-Giles and International Phonetic Alphabet (IPA).
== FEATURES/PROBLEMS:
== SYNOPSIS:
require 'pinyin'
reader = Pinyin::Reader.new(:hanyu, :tones) reader << "wo3 ai4 ni3" # => [<Pinyin::Syllable <initial=Empty, final=Uo, tone=3>>, # <Pinyin::Syllable <initial=Empty, final=Ai, tone=4>>, # <Pinyin::Syllable <initial=Ne, final=I, tone=3>>]
writer = Pinyin::Writer.new(:zhuyin, :marks)
writer << (reader << "wo3 ai4 ni3")
require 'pinyin/string'
"wo3 ai4 ni3".pretty_tones
== REQUIREMENTS:
== INSTALL:
== LICENSE: Copyright (c) 2004-2007, Arne Brasseur. (http://www.arnebrasseur.net)
Available as Free Software under the GPLv3 License, see LICENSE.txt for details
FAQs
Unknown package
We found that arnebrasseur-pinyin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.