Page 1 of 1

HOW TO RETRIEVE DICTIONARY FILES FROM CSWEB SERVICE

Posted: January 30th, 2020, 4:19 am
by ada
HI.
I realized I lost my dictionary files on the local computer but I have already uploaded the files into csweb. How can retrieve the dictionary from the server to avoid me creating another dictionary?
Thanks

Re: HOW TO RETRIEVE DICTIONARY FILES FROM CSWEB SERVICE

Posted: January 30th, 2020, 7:59 am
by etuser
Greg gave us the following tricks a couple of years ago, please try it . i just copy what he wrote

This is not straightforward, but what you could do is:

1) Open the Tabulate Frequencies tool.

2) Select your CSPro DB file.

3) Select something to tabulate.

4) Add this as the universe: accept("1","1")

5) Click Run.

6) When the accept box comes up, go to your temporary directory. You can go it my entering %temp% in Windows Explorer.

7) Sort by date modified. You should have new files, CSFrqRun...

8) Open the .ord file in a text editor.

9) Look at the [Dictionaries] section. You'll see something like: File=.\CSP....tmp

10) Copy that file somewhere else and change the extension to .dcf. That's the dictionary from your CSPro DB file.

Alternatively, you can use a SQLite browser tool to extract the dictionary.

Re: HOW TO RETRIEVE DICTIONARY FILES FROM CSWEB SERVICE

Posted: January 30th, 2020, 8:14 am
by josh
In the MySQL database look at the dictionary_full_content column of the cspro_dictionaries table. That column contains the dictionary. Save the text in that column to a file with the extension .dcf and you will be able to open it in CSPro.