You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -50,8 +48,10 @@ of a word because there is no in-built support to figure that out. You may also
50
48
51
49
If you want actual POS values and lemmas (canonical form of a word), you will need a POS-tagger of some sort.
52
50
While it is possible to hook in an external tagger via a web call, that will be noticably slower than an
53
-
in-built system. ChatScript supports in-build TreeTagger system, which supports a number of languages. However,
54
-
you can only use this if you have a commercial license. You can try it out using ^popen, as is done in the German
51
+
in-built system.
52
+
53
+
ChatScript supports in-build TreeTagger system, which supports a number of languages. However,
54
+
you can only use this if you have a commercial license. You can try it out using `^popen`, as is done in the German
55
55
bot, however it will be slow because it has to reinitialize TreeTagger for every sentence. The in-built system
56
56
does not. A license (per language) is about $1000 for universal life-time use. You can contact me if you want to arrange to use it.
57
57
@@ -69,13 +69,13 @@ apikey=AIzaSyAxxxx
69
69
```
70
70
71
71
When I want to translate all level 0 concepts I do the following:
72
-
```
72
+
73
73
1. erase the contents of TOPIC folder
74
-
2. :build 0
74
+
2.`:build 0`
75
75
3. run CS using command line parameter `noboot` and your apikey
76
-
4. :sortconcept x
77
-
5. :translateconcept german myfilename
78
-
```
76
+
4.`:sortconcept x`
77
+
5.`:translateconcept german myfilename`
78
+
79
79
80
80
If you run ^csboot and that generates new concept data then you need `noboot`, otherwise it doesn't matter.
81
81
@@ -86,19 +86,16 @@ If you run ^csboot and that generates new concept data then you need `noboot`, o
86
86
The resulting file will automatically prepend each line with conditional compile markers for the language you named, so you can directly add it to your bot and it will only compile when you are in that language mode.
87
87
88
88
If you want to translate concepts from your bot, then do the following:
89
-
```
89
+
90
90
1. erase the contents of TOPIC folder
91
-
2. :build harry (or whatever your bot is)
91
+
2.`:build harry` (or whatever your bot is)
92
92
3. run CS using command line parameter `noboot` and your apikey
93
-
4. :sortconcept x
94
-
5. :translateconcept french myfilename
95
-
```
96
-
If you just want to translate a single concept/topic then you can call
97
-
`:translateconcept ~myconcept french myfilename`. It will, as a byproduct,
98
-
provide the sorted english form of the concept on a single line in
99
-
`cset.txt`. If you dont give a language and filename, then it will just
100
-
sort your english concept and write it out.
101
-
102
-
103
-
93
+
4.`:sortconcept x`
94
+
5.`:translateconcept french myfilename`
104
95
96
+
If you just want to translate a single concept/topic then you can call
97
+
```
98
+
:translateconcept ~myconcept french myfilename
99
+
```
100
+
It will, as a byproduct, provide the sorted english form of the concept on a single line in `cset.txt`.
101
+
If you dont give a language and filename, then it will just sort your english concept and write it out.
0 commit comments