Skip to content

A collection of word lists for Simplified and Traditional Chinese conversions from the OpenCC project

License

Notifications You must be signed in to change notification settings

nk2028/opencc-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opencc-data JSDelivr badge

A collection of word lists for Simplified and Traditional Chinese conversions from the OpenCC project

Usage

The data files of opencc-data (version 1.0.x) is listed below.

From Chinese variants to OpenCC standard:

{
  "cn": ["STCharacters", "STPhrases"],
  "tw": ["TWVariantsRev", "TWVariantsRevPhrases"],
  "twp": ["TWVariantsRev", "TWVariantsRevPhrases", "TWPhrasesRev"],
  "hk": ["HKVariantsRev", "HKVariantsRevPhrases"],
  "jp": ["JPVariantsRev", "JPShinjitaiCharacters", "JPShinjitaiPhrases"]
}

From OpenCC standard to Chinese variants:

{
  "cn": ["TSCharacters", "TSPhrases"],
  "hk": ["HKVariants"],
  "tw": ["TWVariants"],
  "twp": ["TWVariants", "TWPhrasesIT", "TWPhrasesName", "TWPhrasesOther"],
  "jp": ["JPVariants"]
}

Explanation of the Chinese variants above:

  • cn: Simplified Chinese (Mainland China)
  • tw: Traditional Chinese (Taiwan)
  • twp: Traditional Chinese (Taiwan, with phrase conversion)
  • hk: Traditional Chinese (Hong Kong)
  • jp: Japanese Shinjitai