zhconv-rs-opencc 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- zhconv_rs_opencc-0.3.2/.cloudflare/setup-pages-env.sh +16 -0
- zhconv_rs_opencc-0.3.2/.gitattributes +8 -0
- zhconv_rs_opencc-0.3.2/.github/workflows/main.yml +115 -0
- zhconv_rs_opencc-0.3.2/.github/workflows/npm.yml +64 -0
- zhconv_rs_opencc-0.3.2/.github/workflows/pyo3.yml +225 -0
- zhconv_rs_opencc-0.3.2/.github/workflows/pyo3.yml.deprecated +236 -0
- zhconv_rs_opencc-0.3.2/.github/workflows/release.yml +91 -0
- zhconv_rs_opencc-0.3.2/.gitignore +2 -0
- zhconv_rs_opencc-0.3.2/Cargo.toml +66 -0
- zhconv_rs_opencc-0.3.2/LICENSE +674 -0
- zhconv_rs_opencc-0.3.2/PKG-INFO +211 -0
- zhconv_rs_opencc-0.3.2/README.md +193 -0
- zhconv_rs_opencc-0.3.2/benches/25328-0.txt +2911 -0
- zhconv_rs_opencc-0.3.2/benches/LICENSE.md +3 -0
- zhconv_rs_opencc-0.3.2/benches/data3185k.txt +52107 -0
- zhconv_rs_opencc-0.3.2/benches/data54k.txt +676 -0
- zhconv_rs_opencc-0.3.2/benches/data689k.txt +3402 -0
- zhconv_rs_opencc-0.3.2/benches/wikitext.txt +676 -0
- zhconv_rs_opencc-0.3.2/benches/zhconv_benchmark.rs +165 -0
- zhconv_rs_opencc-0.3.2/build.rs +531 -0
- zhconv_rs_opencc-0.3.2/data/HKVariants.txt +63 -0
- zhconv_rs_opencc-0.3.2/data/HKVariantsRevPhrases.txt +156 -0
- zhconv_rs_opencc-0.3.2/data/README.md +12 -0
- zhconv_rs_opencc-0.3.2/data/STCharacters.txt +3980 -0
- zhconv_rs_opencc-0.3.2/data/STPhrases.txt +49119 -0
- zhconv_rs_opencc-0.3.2/data/TSCharacters.txt +4113 -0
- zhconv_rs_opencc-0.3.2/data/TSPhrases.txt +278 -0
- zhconv_rs_opencc-0.3.2/data/TWPhrasesIT.txt +389 -0
- zhconv_rs_opencc-0.3.2/data/TWPhrasesName.txt +84 -0
- zhconv_rs_opencc-0.3.2/data/TWPhrasesOther.txt +39 -0
- zhconv_rs_opencc-0.3.2/data/TWVariants.txt +39 -0
- zhconv_rs_opencc-0.3.2/data/TWVariantsRevPhrases.txt +68 -0
- zhconv_rs_opencc-0.3.2/data/ZhConversion.php +19885 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/1D.json +235 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/2014/345/271/264/344/270/226/347/225/214/346/235/257/345/206/263/350/265/233.json +467 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/2016/345/271/264/345/244/252/345/271/263/346/264/213/351/242/261/351/242/250/345/255/243.json +111 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/2017/345/271/264/345/244/252/345/271/263/346/264/213/351/242/261/351/242/250/345/255/243.json +119 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/2018/345/271/264/345/244/252/345/271/263/346/264/213/351/242/261/351/242/250/345/255/243.json +123 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/2019/345/271/264/345/244/252/345/271/263/346/264/213/351/242/261/351/242/250/345/255/243.json +127 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/2020/345/271/264/345/244/252/345/271/263/346/264/213/351/242/261/351/242/250/345/255/243.json +103 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/2021/345/271/264/345/244/252/345/271/263/346/264/213/351/242/261/351/242/250/345/255/243.json +95 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/2022/345/271/264/345/244/252/345/271/263/346/264/213/351/242/261/351/242/250/345/255/243.json +107 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/2023/345/271/264/345/244/252/345/271/263/346/264/213/351/242/261/351/242/250/345/255/243.json +75 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/2024/345/271/264/345/244/252/345/271/263/346/264/213/351/242/261/351/242/250/345/255/243.json +107 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/24.json +647 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/A Pink.json +35 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/A Song of Ice and Fire.json +55 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/AC Milan.json +147 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/ACmilan.json +147 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/ALeague.json +99 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/AT Places.json +203 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/AU Places.json +571 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Adventure Time.json +103 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Aero.json +911 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Aikatsu.json +179 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Anime.json +1483 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Apink.json +35 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Apple.json +411 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Aquarion.json +43 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Aquatics.json +255 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Ariana Grande.json +119 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Arsenal footballer.json +299 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Artist.json +47 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Astronomy.json +383 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Avatar.json +179 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Avril Lavigne.json +131 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/BE Places.json +2031 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/BLEACH.json +335 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/BR Places.json +79 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/BUDDYCOMPLEX.json +367 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Badminton.json +415 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Bakuman.json +83 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Battle Spirits.json +87 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Bird.json +2515 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/BirdG.json +25939 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/BirdP.json +15027 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Black Mirror.json +147 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/BlueArchive.json +587 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Bridge.json +159 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Britney Spears.json +247 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Bundesliga.json +195 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Butterfly.json +1199 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/C&C.json +159 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/CA Places.json +783 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/CANAAN.json +75 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/CH Places.json +1659 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/CL Places.json +47 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/COD.json +315 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/CWBTyphoonOld.json +375 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Canada.json +195 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Cards.json +75 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Carnivorous Plant.json +143 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Cartoon.json +327 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Chanel.json +31 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Charlie Chaplin.json +171 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Chelseafc.json +1659 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Chemistry.json +711 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Civil Law.json +23 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Code Black.json +187 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Code Geass.json +307 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/CodeLyoko.json +87 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Coldplay.json +107 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Communication.json +411 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Composer.json +211 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Copyright.json +111 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Counter-Strike.json +3459 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/County.json +15 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Crayon Shin-chan.json +43 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Crazyracing Kartrider.json +739 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Criminal Law.json +23 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Cyber Formula.json +143 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Cyberpunk.json +363 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Cyclone.json +227 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/DCComics.json +47 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/DE Places.json +4007 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Danball Senki.json +395 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Dance.json +43 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Death Note.json +55 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Diablo.json +175 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Die Wei/303/237e Rose.json" +35 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Digimon.json +763 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Disney.json +1131 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Doctor Who.json +103 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Doraemon.json +419 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/DragonBall.json +535 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/DreamWorks.json +1019 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Dune.json +127 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/ED.json +227 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/EPL.json +931 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/EU.json +155 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Earthquake.json +415 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Ecology.json +1267 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Economics.json +839 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Electronics.json +639 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Entertainer.json +7587 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Esports.json +75 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Eyeshield21.json +199 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/F1.json +451 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/FAcup.json +451 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/FC Barcelona footballer.json +287 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/FC Bayern footballer.json +955 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/FR Places.json +4939 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Family Guy.json +179 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Firearms.json +1023 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Food.json +1031 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Football.json +791 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Friends.json +55 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Frieren.json +131 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Fringe.json +79 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Frozen.json +179 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Fujiko Fujio.json +131 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/FullmetalAlchemist.json +599 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Futurama.json +99 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GBF.json +1027 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GGundam.json +251 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GOSICK.json +199 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GZFC.json +167 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Games-zh.json +283 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Games.json +2583 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GaoGaiGar.json +75 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Geography.json +59 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Getter Robo.json +95 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Ghibli.json +135 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Glee.json +275 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GossipGirl.json +119 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Guangzhou FC footballer.json +167 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Guardians of Ga'Hoole.json +243 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Gundam00.json +983 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GundamAGE.json +803 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GundamIBO.json +1227 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GundamSeed.json +1519 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GundamTWFM.json +483 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GundamUC.json +2319 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GundamW.json +247 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/GundamX.json +271 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/HTGAWM.json +243 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/HUNTER.json +507 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Half-Life.json +235 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Hannibal Lecter.json +51 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/HarryPotter.json +2747 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Hawaii Five-0.json +27 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Hayate the Combat Butler.json +135 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Heroes of the Storm.json +299 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/House.json +451 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/IE Places.json +47 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/IMF.json +79 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/IN Movie.json +159 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/IN Places.json +163 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/IR Places.json +127 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/IT Places.json +123 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/IT.json +6295 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/JLeague.json +55 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/JP Show.json +847 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/James Bond.json +363 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Jewelpet.json +471 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Justin Bieber.json +63 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/KLeague.json +119 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/KO Movie.json +2515 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/KO Show.json +763 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/KO TV Show.json +2951 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/KamenRider.json +1223 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Kao.json +107 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Katy Perry.json +43 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Korea Comparison.json +47 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Korea.json +899 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Korean.json +23 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/LEGO.json +55 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/LOL.json +779 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/LR.json +223 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/La casa de papel.json +291 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Lady Gaga.json +107 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Lana Del Rey.json +171 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Laos.json +59 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Leeds United.json +759 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Legend of the Guardians.json +51 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Les Mis/303/251rables.json" +87 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Lifesciences.json +2647 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Linguistics.json +11 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Linkin.json +103 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Lorde.json +83 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/LuaIT.json +3659 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/LuaMovie.json +7087 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/LuaShow.json +3159 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/MA.json +411 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/MCD.json +171 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/MCFC.json +235 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/MLS.json +119 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/MUFC.json +475 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/MY.json +579 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Mabinogi.json +771 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Mahjong.json +407 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/MapleStory.json +543 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Mariah Carey.json +35 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/MarvelNetflix.json +11 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Math.json +1175 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Mazinger.json +351 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/McDonald's.json +195 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/MediaWiki special.json +715 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/MediaWiki.json +439 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Medicine.json +683 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Michael Jackson.json +43 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/MigTest.json +11 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Might&Magic.json +111 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Military.json +1295 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Minecraft.json +243 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Movie.json +13275 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Music.json +1127 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/My Little Pony.json +1371 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/MyHeroAcademia.json +267 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/NARUTO.json +575 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/NBA.json +2867 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/NFL.json +247 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/NHL.json +207 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/NL Places.json +119 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/NWSL.json +235 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Nintendo.json +363 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Nobel Prize.json +203 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/OnePiece.json +1447 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Organization.json +367 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/OshinoKo.json +159 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Overwatch.json +211 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/P&G.json +135 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/PHL Places.json +71 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/People.json +3003 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/PeppaPig.json +147 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Percy Jackson.json +71 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/PerryClass.json +131 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Pesticide.json +247 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Philosophy.json +39 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Photography.json +71 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Physics.json +1143 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Pichi Pichi Pitch.json +143 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Pinnacle Islands.json +31 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Pixar.json +1231 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Pokemon-old.json +735 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Pokemon.json +743 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/PoliticiansPT.json +259 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/PoliticiansUK.json +2271 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Popes.json +331 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Power Rangers.json +139 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/PresidentsUS.json +1087 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Pretty Rhythm.json +423 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/PrisonBreak.json +191 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Psychiatry.json +315 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Psychology.json +939 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Racing.json +1487 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Railway.json +1415 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/RainbowSixSiege.json +87 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Reborn.json +323 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/ResidentEvil.json +191 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Rihanna.json +115 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/SAO.json +1335 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/SARS-CoV-2 variant.json +67 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/SEGA.json +215 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/SNSD.json +103 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/SPL.json +75 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/SPY/303/227FAMILY.json +115 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Sailor Moon.json +127 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Saint Seiya The Lost Canvas.json +275 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/SaintSeiyaOmega.json +335 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Sandbox.json +2575 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Selena Gomez.json +71 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Shinkalion.json +991 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Shipname.json +243 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Show.json +3267 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Shugo Chara!.json +127 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Sia.json +91 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Signals and Systems.json +91 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Signpost.json +19 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Sim.json +359 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Simpsons.json +643 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Snooker.json +419 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Solo Leveling.json +183 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/SouthPark.json +87 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/SpongeBob SquarePants.json +339 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Sports.json +339 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Square Enix.json +639 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/StarCraft.json +319 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/StarCraft2.json +495 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/StarTrek.json +1035 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/StarWars.json +411 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/StephenKing.json +155 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Stranger Things.json +291 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Summon Night.json +23 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/TCM.json +67 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/TH Movie.json +479 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/TLeague.json +31 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/TV.json +3207 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Table Tennis.json +271 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Tales.json +135 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Tamagotchi.json +191 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Taylor Swift.json +499 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Telcom.json +91 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Tennis.json +1871 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/TfL.json +6 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/The Chainsmokers.json +23 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/The Promised Neverland.json +75 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/The Witcher.json +475 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/The World God Only Knows.json +139 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/TheBeatles.json +95 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/ThePeanuts.json +67 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Toaru.json +139 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Transformers.json +879 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Transport for London.json +151 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Transport.json +1771 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/TropicalCycloneName.json +1651 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Tunisia.json +75 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Twilight.json +95 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/TyphoonNew.json +295 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/TyphoonOld.json +1271 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/UA toponyms.json +235 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/UK Places.json +1727 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/US CA Cities.json +143 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/US Government.json +167 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/US Senators.json +23 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/USState.json +1163 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Ultraman.json +731 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Unilever.json +75 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Unit.json +247 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Urban.json +211 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/VLeague.json +23 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Valkyria.json +71 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/WORKING!!.json +47 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Warcraft.json +743 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Warhammer.json +39 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Warriors.json +495 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Watch.json +67 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Weather.json +211 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Windows.json +603 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Wow.json +1023 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/Yes! /345/205/211/344/271/213/347/276/216/345/260/221/345/245/2635.json" +295 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/ZH Show.json +2043 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/arsenal.json +299 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/check1.py +58 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/chelsea.json +431 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/fcbarcelona.json +267 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/fcbayern.json +867 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/free license.json +95 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/inter.json +31 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/laliga.json +835 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/leek.json +183 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/ligue.json +171 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/liverpoolfc.json +859 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/loghorizon.json +299 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/magi.json +591 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/neo-noir.json +691 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/regalia.json +155 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/rugby.json +19 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/sandbox.json +15 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/specialpages.json +111 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/uefa.json +2011 -0
- zhconv_rs_opencc-0.3.2/data/cgroups/vital.json +287 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//303/211lite.json +211 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//344/270/200/346/213/263/350/266/205/344/272/272.json +479 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//344/274/212/346/213/211/345/205/213/350/266/263/347/220/203.json +31 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//344/274/212/346/226/257/350/230/255.json +79 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//344/274/212/346/234/227/350/266/263/347/220/203.json +67 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//344/275/233/346/225/231.json +67 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//344/277/204/350/266/205.json +99 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//344/277/261/344/271/220/351/203/250/350/266/263/347/220/203/350/201/224/350/265/233.json +179 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/210/227/346/226/257/350/201/257.json +759 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/212/240/350/266/205/350/201/257.json +55 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/215/227/347/276/216/347/220/203/346/234/203.json +371 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/215/227/347/276/216/350/266/263/347/220/203/351/230/237.json +403 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/215/232/345/274/210/350/256/272.json +63 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/215/241/345/241/224/345/260/224/346/230/237/347/272/247/350/266/263/347/220/203/350/201/224/350/265/233.json +107 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/217/231/345/210/251/344/272/232/350/201/214/344/270/232/350/266/263/347/220/203/350/201/224/350/265/233.json +87 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/220/215/345/201/265/346/216/242/346/237/257/345/215/227.json +131 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/222/225/345/232/225/345/222/225/345/232/225/351/255/224/346/263/225/351/231/243.json +263 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/222/262-Saki-.json +131 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/226/256/351/233/231/346/233/270/345/220/215/350/231/237/350/275/211/346/217/233.json +15 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/233/233/351/251/205/345/205/204/345/274/237.json +331 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/234/215/346/243/213.json +91 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/234/260/345/220/215.json +2991 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/243/260/344/270/264/345/205/266/345/242/203.json +367 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/246/226/346/200/252/346/211/213/351/214/266.json +583 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/247/223/346/260/217.json +263 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/250/233/346/250/202.json +75 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/260/217/351/255/224/345/245/263DoReMi.json +227 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/267/236/351/202/246.json +503 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/267/264/345/213/222/346/226/257/345/235/246/350/201/214/344/270/232/350/266/263/347/220/203/350/201/224/350/265/233.json +27 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/267/264/346/236/227/350/201/214/344/270/232/350/266/263/347/220/203/350/201/224/350/265/233.json +87 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//345/271/270/347/246/217/347/210/206/347/231/274/357/274/201/345/205/211/344/271/213/347/276/216/345/260/221/345/245/263.json +243 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/204/217/347/224/262.json +555 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/204/233/345/244/251/344/275/277/345/202/263/350/252/252.json +219 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/210/260/351/254/245/351/231/200/350/236/272 /351/213/274/351/220/265/345/245/207/345/205/265.json" +323 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/211/223/345/267/245/345/220/247/357/274/201/351/255/224/347/216/213/345/244/247/344/272/272.json +195 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/216/222/347/220/203.json +471 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/224/277/346/262/273/344/272/272/347/211/251.json +587 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/226/207/345/255/270.json +551 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/226/257/346/264/233/344/274/220/345/205/213/350/266/263/347/220/203.json +191 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/230/237/345/205/211/346/250/202/345/234/222.json +627 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/232/227/345/275/261/350/257/227/347/253/240 (/345/212/250/347/224/273).json" +55 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/235/221/344/270/212/346/230/245/346/250/271.json +47 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/240/270/350/203/275.json +111 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/251/237/347/215/270/347/263/273/345/210/227.json +231 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/260/221/346/227/217.json +27 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/262/231/347/211/271/350/201/214/344/270/232/350/266/263/347/220/203/350/201/224/350/265/233.json +255 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/263/260/345/234/213/344/272/272/345/220/215.json +75 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/263/260/345/234/213/344/272/272/345/220/215/345/217/212/345/234/260/345/220/215.json +219 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/266/274/345/256/256/346/230/245/346/227/245/347/232/204/346/206/202/351/254/261.json +71 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//346/275/230/346/234/265/346/213/211/344/271/213/345/277/203.json +191 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//347/203/217/350/214/262/345/210/245/345/205/213/350/266/263/347/220/203/346/234/203.json +119 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//347/210/206/344/270/270.json +343 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//347/224/265/345/275/261/346/234/257/350/257/255.json +287 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//347/225/234/347/211/247.json +47 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//347/225/266/345/200/213/345/211/265/344/270/226/347/245/236.json +19 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//347/231/276/350/256/212/345/260/217/346/253/273.json +131 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//347/247/221/345/250/201/347/211/271/350/201/214/344/270/232/350/266/263/347/220/203/350/201/224/350/265/233.json +39 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//347/253/245/350/251/261/346/247/215/346/211/213/345/260/217/347/264/205/345/270/275.json +143 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//347/272/246/346/227/246/350/201/214/344/270/232/350/266/263/347/220/203/350/201/224/350/265/233.json +35 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//347/276/216/345/233/275/346/274/253/347/224/273.json +1771 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//350/211/276/347/273/264/351/207/214/345/245/245/346/226/257.json +15 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//350/215/267/350/230/255/350/266/263/347/220/203/350/201/257/350/263/275.json +135 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//350/217/201/350/213/261/346/256/272/346/251/237.json +215 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//350/221/241/350/266/205.json +75 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//350/240/237/347/255/206/345/260/217/346/226/260.json +99 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//350/257/255/350/250/200/344/270/216/350/257/255/351/237/263.json +15 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//350/266/263/347/220/203/344/277/261/344/271/220/351/203/250.json +179 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/200/232/351/235/210/347/216/213.json +159 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/200/262/346/223/212/347/232/204/345/267/250/344/272/272.json +459 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/207/243/351/255/232/350/207/272/345/210/227/345/266/274.json +31 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/226/203/351/233/273/345/215/201/344/270/200/344/272/272.json +1299 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/226/213/351/227/212/345/244/251/347/251/272/357/274/201/345/205/211/344/271/213/347/276/216/345/260/221/345/245/263.json +131 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/227/207.json +87 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/230/277/346/233/274/350/201/214/344/270/232/350/266/263/347/220/203/350/201/224/350/265/233.json +27 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/230/277/350/201/224/351/205/213/350/201/214/344/270/232/350/266/263/347/220/203/350/201/224/350/265/233.json +167 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/231/215/344/270/226/347/245/236/351/200/232.json +131 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/237/263/346/250/202/345/212/207.json +6 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/251/205/351/255/224/345/260/221/345/271/264.json +203 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/251/254/346/235/245/344/272/272/345/220/215/345/234/260/345/220/215.json +667 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/254/245/351/231/243/347/211/271/346/224/273.json +743 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/255/224/346/263/225/345/222/252/350/267/257/345/222/252/350/267/257.json +179 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/273/216/345/267/264/345/253/251/350/201/214/344/270/232/350/266/263/347/220/203/350/201/224/350/265/233.json +31 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/273/221/345/237/267/344/272/213.json +475 -0
- zhconv_rs_opencc-0.3.2/data/cgroups//351/273/221/345/241/224/347/263/273/345/210/227.json +111 -0
- zhconv_rs_opencc-0.3.2/data/merge_cgroups_for_web.py +63 -0
- zhconv_rs_opencc-0.3.2/data/poetry.lock +149 -0
- zhconv_rs_opencc-0.3.2/data/pyproject.toml +15 -0
- zhconv_rs_opencc-0.3.2/data/update_basic.py +146 -0
- zhconv_rs_opencc-0.3.2/data/update_cgroups.py +332 -0
- zhconv_rs_opencc-0.3.2/pyo3/.gitignore +72 -0
- zhconv_rs_opencc-0.3.2/pyo3/Cargo.lock +915 -0
- zhconv_rs_opencc-0.3.2/pyo3/Cargo.toml +21 -0
- zhconv_rs_opencc-0.3.2/pyo3/README.md +193 -0
- zhconv_rs_opencc-0.3.2/pyo3/src/lib.rs +221 -0
- zhconv_rs_opencc-0.3.2/pyo3/zhconv_rs.pyi +42 -0
- zhconv_rs_opencc-0.3.2/pyproject.toml +26 -0
- zhconv_rs_opencc-0.3.2/src/converter.rs +785 -0
- zhconv_rs_opencc-0.3.2/src/converters.rs +95 -0
- zhconv_rs_opencc-0.3.2/src/lib.rs +276 -0
- zhconv_rs_opencc-0.3.2/src/pagerules.rs +66 -0
- zhconv_rs_opencc-0.3.2/src/rule.rs +400 -0
- zhconv_rs_opencc-0.3.2/src/tables.rs +166 -0
- zhconv_rs_opencc-0.3.2/src/utils.rs +55 -0
- zhconv_rs_opencc-0.3.2/src/variant.rs +249 -0
- zhconv_rs_opencc-0.3.2/src/wasm.rs +95 -0
- zhconv_rs_opencc-0.3.2/web/.gitignore +27 -0
- zhconv_rs_opencc-0.3.2/web/README.md +46 -0
- zhconv_rs_opencc-0.3.2/web/config-overrides.js +47 -0
- zhconv_rs_opencc-0.3.2/web/package.json +54 -0
- zhconv_rs_opencc-0.3.2/web/public/cgroups.json +447 -0
- zhconv_rs_opencc-0.3.2/web/public/index.html +47 -0
- zhconv_rs_opencc-0.3.2/web/public/logo.ico +0 -0
- zhconv_rs_opencc-0.3.2/web/public/logo192.png +0 -0
- zhconv_rs_opencc-0.3.2/web/public/logo512.png +0 -0
- zhconv_rs_opencc-0.3.2/web/public/manifest.json +25 -0
- zhconv_rs_opencc-0.3.2/web/public/robots.txt +3 -0
- zhconv_rs_opencc-0.3.2/web/src/App.css +38 -0
- zhconv_rs_opencc-0.3.2/web/src/App.test.tsx +9 -0
- zhconv_rs_opencc-0.3.2/web/src/App.tsx +124 -0
- zhconv_rs_opencc-0.3.2/web/src/components/AboutDialog.tsx +134 -0
- zhconv_rs_opencc-0.3.2/web/src/components/CGroupCheckbox.tsx +36 -0
- zhconv_rs_opencc-0.3.2/web/src/components/CGroupSelect.tsx +221 -0
- zhconv_rs_opencc-0.3.2/web/src/components/ConvertButton.tsx +153 -0
- zhconv_rs_opencc-0.3.2/web/src/components/Footer.tsx +134 -0
- zhconv_rs_opencc-0.3.2/web/src/components/Header.tsx +98 -0
- zhconv_rs_opencc-0.3.2/web/src/components/InputEditor.tsx +97 -0
- zhconv_rs_opencc-0.3.2/web/src/components/OptionsControl.tsx +129 -0
- zhconv_rs_opencc-0.3.2/web/src/components/OutputEditor.tsx +30 -0
- zhconv_rs_opencc-0.3.2/web/src/components/OutputStatusLine.tsx +17 -0
- zhconv_rs_opencc-0.3.2/web/src/components/editorCommon.tsx +8 -0
- zhconv_rs_opencc-0.3.2/web/src/index.css +13 -0
- zhconv_rs_opencc-0.3.2/web/src/index.tsx +17 -0
- zhconv_rs_opencc-0.3.2/web/src/logo.svg +1 -0
- zhconv_rs_opencc-0.3.2/web/src/react-app-env.d.ts +1 -0
- zhconv_rs_opencc-0.3.2/web/src/reportWebVitals.ts +15 -0
- zhconv_rs_opencc-0.3.2/web/src/setupTests.ts +5 -0
- zhconv_rs_opencc-0.3.2/web/src/utils.ts +9 -0
- zhconv_rs_opencc-0.3.2/web/tsconfig.json +26 -0
- zhconv_rs_opencc-0.3.2/web/yarn.lock +12006 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
set -eu
|
|
3
|
+
npm install --global yarn || true
|
|
4
|
+
|
|
5
|
+
curl -o rustup.sh https://sh.rustup.rs
|
|
6
|
+
chmod +x rustup.sh
|
|
7
|
+
./rustup.sh -y --default-toolchain 1.81.0 # blocked by https://github.com/rustwasm/wasm-bindgen/issues/4211
|
|
8
|
+
|
|
9
|
+
. $HOME/.cargo/env
|
|
10
|
+
curl -o wasm-init.sh https://rustwasm.github.io/wasm-pack/installer/init.sh
|
|
11
|
+
chmod +x wasm-init.sh
|
|
12
|
+
./wasm-init.sh
|
|
13
|
+
|
|
14
|
+
cd web/
|
|
15
|
+
yarn install
|
|
16
|
+
yarn build
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Exclude external ruleset files from GitHub PL stats
|
|
2
|
+
# ref: https://stackoverflow.com/questions/19052834/is-it-possible-to-exclude-files-from-git-language-statistics
|
|
3
|
+
# And prevent auto CRLF conversion to avoid checksum mismatch
|
|
4
|
+
data/ZhConversion.php linguist-vendored binary
|
|
5
|
+
data/*.txt linguist-vendored binary
|
|
6
|
+
data/cgroups/*.json linguist-vendored
|
|
7
|
+
web/public/cgroups.json linguist-vendored
|
|
8
|
+
benches/*.txt linguist-vendored
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
|
|
7
|
+
env:
|
|
8
|
+
CARGO_TERM_COLOR: always
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build-main:
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
featureset:
|
|
15
|
+
- flag: ""
|
|
16
|
+
- flag: "--all-features"
|
|
17
|
+
- flag: "--no-default-features"
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v2
|
|
21
|
+
- name: Build
|
|
22
|
+
run: |
|
|
23
|
+
cargo --version
|
|
24
|
+
cargo build --verbose ${{ matrix.featureset.flag }}
|
|
25
|
+
- name: Test
|
|
26
|
+
run: cargo test ${{ matrix.featureset.flag }} --verbose
|
|
27
|
+
- name: Check Format
|
|
28
|
+
run: cargo fmt -- --check
|
|
29
|
+
- name: Clippy
|
|
30
|
+
run: cargo clippy --all-targets ${{ matrix.featureset.flag }} -- -D warnings
|
|
31
|
+
|
|
32
|
+
build-cli:
|
|
33
|
+
needs: build-main
|
|
34
|
+
runs-on: ubuntu-latest
|
|
35
|
+
defaults:
|
|
36
|
+
run:
|
|
37
|
+
working-directory: cli/
|
|
38
|
+
steps:
|
|
39
|
+
- uses: actions/checkout@v2
|
|
40
|
+
- name: Build
|
|
41
|
+
run: |
|
|
42
|
+
cargo --version
|
|
43
|
+
cargo build --verbose
|
|
44
|
+
- name: Test
|
|
45
|
+
run: cargo test --verbose
|
|
46
|
+
- name: Clippy
|
|
47
|
+
run: cargo clippy --all-targets --all-features -- -D warnings
|
|
48
|
+
- name: Check Format
|
|
49
|
+
run: cargo fmt -- --check
|
|
50
|
+
|
|
51
|
+
build-pyo3:
|
|
52
|
+
needs: build-main
|
|
53
|
+
runs-on: ubuntu-latest
|
|
54
|
+
steps:
|
|
55
|
+
- uses: actions/checkout@v3
|
|
56
|
+
- name: Symlink README
|
|
57
|
+
run: |
|
|
58
|
+
cd pyo3/
|
|
59
|
+
ln -s ../README.md ./
|
|
60
|
+
- uses: messense/maturin-action@v1
|
|
61
|
+
with:
|
|
62
|
+
manylinux: auto
|
|
63
|
+
command: build
|
|
64
|
+
args: --release --sdist -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml
|
|
65
|
+
|
|
66
|
+
build-typst:
|
|
67
|
+
needs: build-main
|
|
68
|
+
runs-on: ubuntu-latest
|
|
69
|
+
defaults:
|
|
70
|
+
run:
|
|
71
|
+
working-directory: typst/
|
|
72
|
+
steps:
|
|
73
|
+
- uses: actions/checkout@v3
|
|
74
|
+
- name: Install Wasm target for Rust
|
|
75
|
+
run: rustup target add wasm32-unknown-unknown
|
|
76
|
+
- name: Install Typst
|
|
77
|
+
run: curl -fsSL https://typst.community/typst-install/install.sh | sh
|
|
78
|
+
- name: Build
|
|
79
|
+
run: |
|
|
80
|
+
cargo --version
|
|
81
|
+
cargo build --release --verbose --target wasm32-unknown-unknown
|
|
82
|
+
- name: Typst Compile
|
|
83
|
+
run: |
|
|
84
|
+
cp target/wasm32-unknown-unknown/release/zhconv_typst.wasm ./
|
|
85
|
+
/home/runner/.typst/bin/typst compile example.typ
|
|
86
|
+
- name: Clippy
|
|
87
|
+
run: cargo clippy --target wasm32-unknown-unknown --all-features -- -D warnings
|
|
88
|
+
- name: Check Format
|
|
89
|
+
run: cargo fmt -- --check
|
|
90
|
+
|
|
91
|
+
# now Pages.dev do this for us
|
|
92
|
+
# build-web:
|
|
93
|
+
# needs: build-main
|
|
94
|
+
# runs-on: ubuntu-latest
|
|
95
|
+
# steps:
|
|
96
|
+
# - uses: actions/checkout@v2
|
|
97
|
+
# - uses: actions/setup-node@v1
|
|
98
|
+
# with:
|
|
99
|
+
# node-version: "16"
|
|
100
|
+
# - name: Init web
|
|
101
|
+
# working-directory: web/
|
|
102
|
+
# run: |
|
|
103
|
+
# node --version
|
|
104
|
+
# yarn --version
|
|
105
|
+
# yarn install
|
|
106
|
+
# - name: Build
|
|
107
|
+
# working-directory: web/
|
|
108
|
+
# run: yarn build
|
|
109
|
+
# - name: Test
|
|
110
|
+
# working-directory: web/
|
|
111
|
+
# run: yarn test # no effective test so far
|
|
112
|
+
|
|
113
|
+
# adapted from: https://github.com/Gowee/cidr-aggregator/blob/9c02241ab64e5cf62e33375e55e09502385bdc61/.github/workflows/main.yml#L1
|
|
114
|
+
# which is in turn adapted from:
|
|
115
|
+
# https://github.com/Gowee/json2pyi/blob/4e13b4767f97d79e90ecf19a0cb21b1e799d7d48/.github/workflows/main.yml
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
name: NPM
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v2
|
|
12
|
+
- uses: actions-rs/toolchain@v1
|
|
13
|
+
with:
|
|
14
|
+
toolchain: stable
|
|
15
|
+
- name: Install wasm-pack
|
|
16
|
+
run: |
|
|
17
|
+
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
|
18
|
+
- name: Build pkg
|
|
19
|
+
run: |
|
|
20
|
+
wasm-pack build --release -d pkg-bundler && wasm-pack build --release -d pkg-web -t web
|
|
21
|
+
- name: Upload pkg
|
|
22
|
+
uses: actions/upload-artifact@v3
|
|
23
|
+
with:
|
|
24
|
+
name: pkgs
|
|
25
|
+
path: |
|
|
26
|
+
pkg-bundler
|
|
27
|
+
pkg-web
|
|
28
|
+
|
|
29
|
+
release:
|
|
30
|
+
name: Release
|
|
31
|
+
environment: npm
|
|
32
|
+
runs-on: ubuntu-latest
|
|
33
|
+
if: "startsWith(github.ref, 'refs/tags/')"
|
|
34
|
+
needs: [ build ]
|
|
35
|
+
steps:
|
|
36
|
+
- uses: actions/setup-node@v3
|
|
37
|
+
with:
|
|
38
|
+
node-version: 16
|
|
39
|
+
- uses: actions/download-artifact@v2
|
|
40
|
+
with:
|
|
41
|
+
name: pkgs
|
|
42
|
+
- name: Set NPM token
|
|
43
|
+
env:
|
|
44
|
+
NPM_API_TOKEN: ${{ secrets.NPM_API_TOKEN }}
|
|
45
|
+
run: |
|
|
46
|
+
npm config set //registry.npmjs.org/:_authToken="${NPM_API_TOKEN}"
|
|
47
|
+
- name: Publish zhconv
|
|
48
|
+
run: |
|
|
49
|
+
cd pkg-bundler
|
|
50
|
+
jq '. |= . + {"keywords": ["wasm", "chinese", "simplified chinese", "traditional chinese", "language", "webpack", "l10n"]}' package.json | \
|
|
51
|
+
jq '.description = "🦀 Convert Trad/Simp Chinese and regional phrases among each other based on rules of MediaWiki and OpenCC 轉換中文简繁體及地區詞,基於MediaWiki和OpenCC之轉換表 (powered by Rust/WASM 驅動)"' \
|
|
52
|
+
> new-package.json
|
|
53
|
+
mv new-package.json package.json
|
|
54
|
+
npm publish
|
|
55
|
+
- name: Publish zhconv-web
|
|
56
|
+
run: |
|
|
57
|
+
cd pkg-web
|
|
58
|
+
jq '. |= . + {"keywords": ["wasm", "chinese", "simplified chinese", "traditional chinese", "language", "browser", "l10n"]}' package.json | \
|
|
59
|
+
jq '.description = "The alternative version of zhconv that can be imported as an ES module in a browser straightfoward"' | \
|
|
60
|
+
jq '.name = "zhconv-web"' \
|
|
61
|
+
> new-package.json
|
|
62
|
+
mv new-package.json package.json
|
|
63
|
+
echo -e "# Check [zhconv](https://www.npmjs.com/package/zhconv) for more info\n\nThe package shares the same codebase with zhconv. But it can be imported as an ES module in a browser straightfoward without bundlers like Webpack." > README.md
|
|
64
|
+
npm publish
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
# This file is autogenerated by maturin v1.7.4
|
|
2
|
+
# To update, run
|
|
3
|
+
#
|
|
4
|
+
# maturin generate-ci github
|
|
5
|
+
#
|
|
6
|
+
name: PyO3
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- main
|
|
12
|
+
- dev
|
|
13
|
+
tags:
|
|
14
|
+
- 'v*'
|
|
15
|
+
pull_request:
|
|
16
|
+
workflow_dispatch:
|
|
17
|
+
|
|
18
|
+
permissions:
|
|
19
|
+
contents: read
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
linux:
|
|
23
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
24
|
+
strategy:
|
|
25
|
+
matrix:
|
|
26
|
+
platform:
|
|
27
|
+
- runner: ubuntu-latest
|
|
28
|
+
target: x86_64
|
|
29
|
+
- runner: ubuntu-latest
|
|
30
|
+
target: x86
|
|
31
|
+
- runner: ubuntu-latest
|
|
32
|
+
target: aarch64
|
|
33
|
+
- runner: ubuntu-latest
|
|
34
|
+
target: armv7
|
|
35
|
+
- runner: ubuntu-latest
|
|
36
|
+
target: s390x
|
|
37
|
+
- runner: ubuntu-latest
|
|
38
|
+
target: ppc64le
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/checkout@v4
|
|
41
|
+
- name: Symlink README
|
|
42
|
+
run: |
|
|
43
|
+
cd pyo3/
|
|
44
|
+
ln -s ../README.md ./
|
|
45
|
+
- uses: actions/setup-python@v5
|
|
46
|
+
with:
|
|
47
|
+
python-version: 3.x
|
|
48
|
+
- name: Build wheels
|
|
49
|
+
uses: PyO3/maturin-action@v1
|
|
50
|
+
with:
|
|
51
|
+
target: ${{ matrix.platform.target }}
|
|
52
|
+
args: --release -o pyo3/dist --sdist --find-interpreter -m pyo3/Cargo.toml
|
|
53
|
+
sccache: 'true'
|
|
54
|
+
manylinux: auto
|
|
55
|
+
- name: Prepare OpenCC
|
|
56
|
+
run: |
|
|
57
|
+
sed -i 's/name = "zhconv-rs"/name = "zhconv-rs-opencc"/' pyo3/pyproject.toml
|
|
58
|
+
sed -i 's/name = "zhconv_rs"/name = "zhconv_rs_opencc"/' pyo3/Cargo.toml
|
|
59
|
+
sed -i 's/\(description = ".*\)"$/\1 (with OpenCC dicts)"/' pyo3/Cargo.toml
|
|
60
|
+
- name: Build wheels - OpenCC
|
|
61
|
+
uses: PyO3/maturin-action@v1
|
|
62
|
+
with:
|
|
63
|
+
target: ${{ matrix.platform.target }}
|
|
64
|
+
args: --release -o pyo3/dist --sdist --find-interpreter -m pyo3/Cargo.toml -F opencc
|
|
65
|
+
sccache: 'true'
|
|
66
|
+
manylinux: auto
|
|
67
|
+
- name: Upload wheels
|
|
68
|
+
uses: actions/upload-artifact@v4
|
|
69
|
+
with:
|
|
70
|
+
name: wheels-linux-${{ matrix.platform.target }}
|
|
71
|
+
path: pyo3/dist
|
|
72
|
+
|
|
73
|
+
musllinux:
|
|
74
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
75
|
+
strategy:
|
|
76
|
+
matrix:
|
|
77
|
+
platform:
|
|
78
|
+
- runner: ubuntu-latest
|
|
79
|
+
target: x86_64
|
|
80
|
+
- runner: ubuntu-latest
|
|
81
|
+
target: x86
|
|
82
|
+
- runner: ubuntu-latest
|
|
83
|
+
target: aarch64
|
|
84
|
+
- runner: ubuntu-latest
|
|
85
|
+
target: armv7
|
|
86
|
+
steps:
|
|
87
|
+
- uses: actions/checkout@v4
|
|
88
|
+
- name: Symlink README
|
|
89
|
+
run: |
|
|
90
|
+
cd pyo3/
|
|
91
|
+
ln -s ../README.md ./
|
|
92
|
+
- uses: actions/setup-python@v5
|
|
93
|
+
with:
|
|
94
|
+
python-version: 3.x
|
|
95
|
+
- name: Build wheels
|
|
96
|
+
uses: PyO3/maturin-action@v1
|
|
97
|
+
with:
|
|
98
|
+
target: ${{ matrix.platform.target }}
|
|
99
|
+
args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml
|
|
100
|
+
sccache: 'true'
|
|
101
|
+
manylinux: musllinux_1_2
|
|
102
|
+
- name: Prepare OpenCC
|
|
103
|
+
run: |
|
|
104
|
+
sed -i 's/name = "zhconv-rs"/name = "zhconv-rs-opencc"/' pyo3/pyproject.toml
|
|
105
|
+
sed -i 's/name = "zhconv_rs"/name = "zhconv_rs_opencc"/' pyo3/Cargo.toml
|
|
106
|
+
- name: Build wheels - OpenCC
|
|
107
|
+
uses: PyO3/maturin-action@v1
|
|
108
|
+
with:
|
|
109
|
+
target: ${{ matrix.platform.target }}
|
|
110
|
+
args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml -F opencc
|
|
111
|
+
sccache: 'true'
|
|
112
|
+
manylinux: musllinux_1_2
|
|
113
|
+
- name: Upload wheels
|
|
114
|
+
uses: actions/upload-artifact@v4
|
|
115
|
+
with:
|
|
116
|
+
name: wheels-musllinux-${{ matrix.platform.target }}
|
|
117
|
+
path: pyo3/dist
|
|
118
|
+
|
|
119
|
+
windows:
|
|
120
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
121
|
+
strategy:
|
|
122
|
+
matrix:
|
|
123
|
+
platform:
|
|
124
|
+
- runner: windows-latest
|
|
125
|
+
target: x64
|
|
126
|
+
- runner: windows-latest
|
|
127
|
+
target: x86
|
|
128
|
+
steps:
|
|
129
|
+
- uses: actions/checkout@v4
|
|
130
|
+
- name: Symlink README
|
|
131
|
+
run: |
|
|
132
|
+
cd pyo3/
|
|
133
|
+
ln -s ../README.md ./
|
|
134
|
+
- uses: actions/setup-python@v5
|
|
135
|
+
with:
|
|
136
|
+
python-version: 3.x
|
|
137
|
+
architecture: ${{ matrix.platform.target }}
|
|
138
|
+
- name: Build wheels
|
|
139
|
+
uses: PyO3/maturin-action@v1
|
|
140
|
+
with:
|
|
141
|
+
target: ${{ matrix.platform.target }}
|
|
142
|
+
args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml
|
|
143
|
+
sccache: 'true'
|
|
144
|
+
- name: Prepare OpenCC
|
|
145
|
+
run: |
|
|
146
|
+
sed -i 's/name = "zhconv-rs"/name = "zhconv-rs-opencc"/' pyo3/pyproject.toml
|
|
147
|
+
sed -i 's/name = "zhconv_rs"/name = "zhconv_rs_opencc"/' pyo3/Cargo.toml
|
|
148
|
+
- name: Build wheels - OpenCC
|
|
149
|
+
uses: PyO3/maturin-action@v1
|
|
150
|
+
with:
|
|
151
|
+
target: ${{ matrix.platform.target }}
|
|
152
|
+
args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml -F opencc
|
|
153
|
+
sccache: 'true'
|
|
154
|
+
- name: Upload wheels
|
|
155
|
+
uses: actions/upload-artifact@v4
|
|
156
|
+
with:
|
|
157
|
+
name: wheels-windows-${{ matrix.platform.target }}
|
|
158
|
+
path: pyo3/dist
|
|
159
|
+
|
|
160
|
+
macos:
|
|
161
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
162
|
+
strategy:
|
|
163
|
+
matrix:
|
|
164
|
+
platform:
|
|
165
|
+
- runner: macos-12
|
|
166
|
+
target: x86_64
|
|
167
|
+
- runner: macos-14
|
|
168
|
+
target: aarch64
|
|
169
|
+
steps:
|
|
170
|
+
- uses: actions/checkout@v4
|
|
171
|
+
- name: Symlink README
|
|
172
|
+
run: |
|
|
173
|
+
cd pyo3/
|
|
174
|
+
ln -s ../README.md ./
|
|
175
|
+
- uses: actions/setup-python@v5
|
|
176
|
+
with:
|
|
177
|
+
python-version: 3.x
|
|
178
|
+
- name: Build wheels
|
|
179
|
+
uses: PyO3/maturin-action@v1
|
|
180
|
+
with:
|
|
181
|
+
target: ${{ matrix.platform.target }}
|
|
182
|
+
args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml
|
|
183
|
+
sccache: 'true'
|
|
184
|
+
- name: Prepare OpenCC
|
|
185
|
+
run: |
|
|
186
|
+
sed -i'' -e 's/name = "zhconv-rs"/name = "zhconv-rs-opencc"/' pyo3/pyproject.toml
|
|
187
|
+
sed -i'' -e 's/name = "zhconv_rs"/name = "zhconv_rs_opencc"/' pyo3/Cargo.toml
|
|
188
|
+
- name: Build wheels - OpenCC
|
|
189
|
+
uses: PyO3/maturin-action@v1
|
|
190
|
+
with:
|
|
191
|
+
target: ${{ matrix.platform.target }}
|
|
192
|
+
args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml -F opencc
|
|
193
|
+
sccache: 'true'
|
|
194
|
+
- name: Upload wheels
|
|
195
|
+
uses: actions/upload-artifact@v4
|
|
196
|
+
with:
|
|
197
|
+
name: wheels-macos-${{ matrix.platform.target }}
|
|
198
|
+
path: pyo3/dist
|
|
199
|
+
|
|
200
|
+
release:
|
|
201
|
+
name: Release
|
|
202
|
+
runs-on: ubuntu-latest
|
|
203
|
+
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
|
204
|
+
needs: [linux, musllinux, windows, macos]
|
|
205
|
+
permissions:
|
|
206
|
+
# Use to sign the release artifacts
|
|
207
|
+
id-token: write
|
|
208
|
+
# Used to upload release artifacts
|
|
209
|
+
contents: write
|
|
210
|
+
# Used to generate artifact attestation
|
|
211
|
+
attestations: write
|
|
212
|
+
steps:
|
|
213
|
+
- uses: actions/download-artifact@v4
|
|
214
|
+
- name: Generate artifact attestation
|
|
215
|
+
uses: actions/attest-build-provenance@v1
|
|
216
|
+
with:
|
|
217
|
+
subject-path: 'wheels-*/*'
|
|
218
|
+
- name: Publish to PyPI
|
|
219
|
+
if: "startsWith(github.ref, 'refs/tags/')"
|
|
220
|
+
uses: PyO3/maturin-action@v1
|
|
221
|
+
env:
|
|
222
|
+
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
223
|
+
with:
|
|
224
|
+
command: upload
|
|
225
|
+
args: --non-interactive --skip-existing wheels-*/*
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
name: PyO3
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
# - main
|
|
7
|
+
- dev
|
|
8
|
+
tags:
|
|
9
|
+
- v*
|
|
10
|
+
pull_request:
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
macos:
|
|
15
|
+
runs-on: macos-latest
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
- name: Symlink README
|
|
19
|
+
run: |
|
|
20
|
+
cd pyo3/
|
|
21
|
+
ln -s ../README.md ./
|
|
22
|
+
- uses: actions/setup-python@v4
|
|
23
|
+
with:
|
|
24
|
+
python-version: 3.11 # https://github.com/actions/setup-python/issues/960
|
|
25
|
+
architecture: x64
|
|
26
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
27
|
+
- name: Build wheels - x86_64
|
|
28
|
+
uses: PyO3/maturin-action@v1
|
|
29
|
+
with:
|
|
30
|
+
target: x86_64
|
|
31
|
+
args: --release -o pyo3/dist --sdist --find-interpreter -m pyo3/Cargo.toml
|
|
32
|
+
- name: Install built wheel - x86_64
|
|
33
|
+
run: |
|
|
34
|
+
pip install zhconv-rs --no-index --find-links pyo3/dist --force-reinstall
|
|
35
|
+
# python -c "import zhconv_rs"
|
|
36
|
+
- name: Build wheels - universal2
|
|
37
|
+
uses: PyO3/maturin-action@v1
|
|
38
|
+
with:
|
|
39
|
+
target: universal2-apple-darwin
|
|
40
|
+
args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml
|
|
41
|
+
- name: Install built wheel - universal2
|
|
42
|
+
run: |
|
|
43
|
+
pip install zhconv-rs --no-index --find-links pyo3/dist --force-reinstall
|
|
44
|
+
python -c "import zhconv_rs"
|
|
45
|
+
- name: Upload wheels
|
|
46
|
+
uses: actions/upload-artifact@v3
|
|
47
|
+
with:
|
|
48
|
+
name: wheels
|
|
49
|
+
path: pyo3/dist
|
|
50
|
+
|
|
51
|
+
windows:
|
|
52
|
+
runs-on: windows-latest
|
|
53
|
+
strategy:
|
|
54
|
+
matrix:
|
|
55
|
+
target: [x64, x86]
|
|
56
|
+
steps:
|
|
57
|
+
- uses: actions/checkout@v4
|
|
58
|
+
- uses: actions/setup-python@v4
|
|
59
|
+
with:
|
|
60
|
+
python-version: 3.9
|
|
61
|
+
architecture: ${{ matrix.target }}
|
|
62
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
63
|
+
- name: Build wheels
|
|
64
|
+
uses: PyO3/maturin-action@v1
|
|
65
|
+
with:
|
|
66
|
+
target: ${{ matrix.target }}
|
|
67
|
+
args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml
|
|
68
|
+
- name: Install built wheel
|
|
69
|
+
run: |
|
|
70
|
+
pip install zhconv-rs --no-index --find-links pyo3/dist --force-reinstall
|
|
71
|
+
python -c "import zhconv_rs"
|
|
72
|
+
- name: Upload wheels
|
|
73
|
+
uses: actions/upload-artifact@v3
|
|
74
|
+
with:
|
|
75
|
+
name: wheels
|
|
76
|
+
path: pyo3/dist
|
|
77
|
+
|
|
78
|
+
linux:
|
|
79
|
+
runs-on: ubuntu-latest
|
|
80
|
+
strategy:
|
|
81
|
+
matrix:
|
|
82
|
+
target: [x86_64, i686]
|
|
83
|
+
steps:
|
|
84
|
+
- uses: actions/checkout@v4
|
|
85
|
+
- uses: actions/setup-python@v4
|
|
86
|
+
with:
|
|
87
|
+
python-version: 3.9
|
|
88
|
+
architecture: x64
|
|
89
|
+
- name: Build wheels
|
|
90
|
+
uses: PyO3/maturin-action@v1
|
|
91
|
+
with:
|
|
92
|
+
target: ${{ matrix.target }}
|
|
93
|
+
manylinux: auto
|
|
94
|
+
args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml
|
|
95
|
+
- name: Install built wheel
|
|
96
|
+
if: matrix.target == 'x86_64'
|
|
97
|
+
run: |
|
|
98
|
+
pip install zhconv-rs --no-index --find-links pyo3/dist --force-reinstall
|
|
99
|
+
python -c "import zhconv_rs"
|
|
100
|
+
- name: Upload wheels
|
|
101
|
+
uses: actions/upload-artifact@v3
|
|
102
|
+
with:
|
|
103
|
+
name: wheels
|
|
104
|
+
path: pyo3/dist
|
|
105
|
+
|
|
106
|
+
linux-cross:
|
|
107
|
+
runs-on: ubuntu-latest
|
|
108
|
+
strategy:
|
|
109
|
+
matrix:
|
|
110
|
+
target: [aarch64, armv7, s390x, ppc64le, ppc64]
|
|
111
|
+
steps:
|
|
112
|
+
- uses: actions/checkout@v4
|
|
113
|
+
- uses: actions/setup-python@v4
|
|
114
|
+
with:
|
|
115
|
+
python-version: 3.9
|
|
116
|
+
- name: Build wheels
|
|
117
|
+
uses: PyO3/maturin-action@v1
|
|
118
|
+
with:
|
|
119
|
+
target: ${{ matrix.target }}
|
|
120
|
+
manylinux: auto
|
|
121
|
+
args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml
|
|
122
|
+
- uses: uraimo/run-on-arch-action@v2.7.1
|
|
123
|
+
if: matrix.target != 'ppc64'
|
|
124
|
+
name: Install built wheel
|
|
125
|
+
with:
|
|
126
|
+
arch: ${{ matrix.target }}
|
|
127
|
+
distro: ubuntu20.04
|
|
128
|
+
githubToken: ${{ github.token }}
|
|
129
|
+
install: |
|
|
130
|
+
apt-get update
|
|
131
|
+
apt-get install -y --no-install-recommends python3 python3-pip
|
|
132
|
+
pip3 install -U pip
|
|
133
|
+
run: |
|
|
134
|
+
pip3 install zhconv-rs --no-index --find-links pyo3/dist/ --force-reinstall
|
|
135
|
+
python3 -c "import zhconv_rs"
|
|
136
|
+
- name: Upload wheels
|
|
137
|
+
uses: actions/upload-artifact@v3
|
|
138
|
+
with:
|
|
139
|
+
name: wheels
|
|
140
|
+
path: pyo3/dist
|
|
141
|
+
|
|
142
|
+
musllinux:
|
|
143
|
+
runs-on: ubuntu-latest
|
|
144
|
+
strategy:
|
|
145
|
+
matrix:
|
|
146
|
+
target:
|
|
147
|
+
- x86_64-unknown-linux-musl
|
|
148
|
+
- i686-unknown-linux-musl
|
|
149
|
+
steps:
|
|
150
|
+
- uses: actions/checkout@v4
|
|
151
|
+
- uses: actions/setup-python@v4
|
|
152
|
+
with:
|
|
153
|
+
python-version: 3.11
|
|
154
|
+
architecture: x64
|
|
155
|
+
- name: Build wheels
|
|
156
|
+
uses: PyO3/maturin-action@v1
|
|
157
|
+
with:
|
|
158
|
+
target: ${{ matrix.target }}
|
|
159
|
+
manylinux: musllinux_1_2
|
|
160
|
+
args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml
|
|
161
|
+
# - name: Install built wheel
|
|
162
|
+
# if: matrix.target == 'x86_64-unknown-linux-musl'
|
|
163
|
+
# uses: addnab/docker-run-action@v3
|
|
164
|
+
# with:
|
|
165
|
+
# image: alpine:latest
|
|
166
|
+
# options: -v ${{ github.workspace }}:/io -w /io
|
|
167
|
+
# run: |
|
|
168
|
+
# apk add py3-pip
|
|
169
|
+
# pip3 install -U pip
|
|
170
|
+
# pip3 install zhconv-rs --no-index --find-links /io/pyo3/dist --force-reinstall --break-system-packages
|
|
171
|
+
# python3 -c "import zhconv_rs"
|
|
172
|
+
- name: Upload wheels
|
|
173
|
+
uses: actions/upload-artifact@v3
|
|
174
|
+
with:
|
|
175
|
+
name: wheels
|
|
176
|
+
path: pyo3/dist
|
|
177
|
+
|
|
178
|
+
musllinux-cross:
|
|
179
|
+
runs-on: ubuntu-latest
|
|
180
|
+
strategy:
|
|
181
|
+
matrix:
|
|
182
|
+
platform:
|
|
183
|
+
- target: aarch64-unknown-linux-musl
|
|
184
|
+
arch: aarch64
|
|
185
|
+
- target: armv7-unknown-linux-musleabihf
|
|
186
|
+
arch: armv7
|
|
187
|
+
steps:
|
|
188
|
+
- uses: actions/checkout@v4
|
|
189
|
+
- uses: actions/setup-python@v4
|
|
190
|
+
with:
|
|
191
|
+
python-version: 3.11
|
|
192
|
+
- name: Build wheels
|
|
193
|
+
uses: PyO3/maturin-action@v1
|
|
194
|
+
with:
|
|
195
|
+
target: ${{ matrix.platform.target }}
|
|
196
|
+
manylinux: musllinux_1_2
|
|
197
|
+
args: --release -o pyo3/dist --find-interpreter -m pyo3/Cargo.toml
|
|
198
|
+
# - uses: uraimo/run-on-arch-action@v2.7.1
|
|
199
|
+
# name: Install built wheel
|
|
200
|
+
# with:
|
|
201
|
+
# arch: ${{ matrix.platform.arch }}
|
|
202
|
+
# distro: alpine_latest
|
|
203
|
+
# githubToken: ${{ github.token }}
|
|
204
|
+
# install: |
|
|
205
|
+
# apk add py3-pip
|
|
206
|
+
# pip3 install -U pip
|
|
207
|
+
# run: |
|
|
208
|
+
# pip3 install zhconv-rs --no-index --find-links pyo3/dist/ --force-reinstall --break-system-packages --break-system-packages
|
|
209
|
+
# python3 -c "import zhconv_rs"
|
|
210
|
+
- name: Upload wheels
|
|
211
|
+
uses: actions/upload-artifact@v3
|
|
212
|
+
with:
|
|
213
|
+
name: wheels
|
|
214
|
+
path: pyo3/dist
|
|
215
|
+
|
|
216
|
+
release:
|
|
217
|
+
name: Release
|
|
218
|
+
runs-on: ubuntu-latest
|
|
219
|
+
if: "startsWith(github.ref, 'refs/tags/')"
|
|
220
|
+
needs: [ macos, windows, linux, linux-cross, musllinux, musllinux-cross ]
|
|
221
|
+
steps:
|
|
222
|
+
- uses: actions/download-artifact@v3
|
|
223
|
+
with:
|
|
224
|
+
name: wheels
|
|
225
|
+
- uses: actions/setup-python@v4
|
|
226
|
+
with:
|
|
227
|
+
python-version: 3.9
|
|
228
|
+
- name: Publish to PyPI
|
|
229
|
+
env:
|
|
230
|
+
TWINE_USERNAME: __token__
|
|
231
|
+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
|
232
|
+
run: |
|
|
233
|
+
pip install --upgrade twine
|
|
234
|
+
twine upload --skip-existing *
|
|
235
|
+
|
|
236
|
+
# Source: https://github.com/messense/crfs-rs/blob/main/.github/workflows/Python.yml
|