We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65485e2 commit ce9abbfCopy full SHA for ce9abbf
README.md
@@ -13,6 +13,8 @@ go get -v -u github.com/caiguanhao/opencc/opencc
13
14
## Import Package
15
16
+### All
17
+
18
```go
19
package main
20
@@ -28,3 +30,22 @@ func main() {
28
30
// 滑鼠裡面的矽二極體壞了,導致游標解析度降低。
29
31
}
32
```
33
34
+### Specific
35
36
+```go
37
+package main
38
39
+import (
40
+ "fmt"
41
42
+ "github.com/caiguanhao/opencc/configs/tw2sp"
43
+)
44
45
+func main() {
46
+ fmt.Println(tw2sp.Description)
47
+ // Traditional Chinese (Taiwan standard) to Simplified Chinese (with phrases)
48
+ fmt.Println(tw2sp.Dicts.Convert(`滑鼠裡面的矽二極體壞了,導致游標解析度降低。`))
49
+ // 鼠标里面的硅二极管坏了,导致光标分辨率降低。
50
+}
51
+```
0 commit comments