AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

How can I load my raw data for dictionary
 
 

Hi,

I tried to load my own dictionary into CS but I couldn’t.

(Because the size of my Korean dictionary is very big, it takes long time to “build harry”.

So I want to make my own dictionary as a default one, level 0.)


(1) I wrote my raw dictionary data in UTF-8 mode. The file format is “space Word ( NOUN etc )”.

    (Please see the attached file)

(2) I moved this file into DICT/ENGLISH/ folder

(3) I deleted the default dict.bin file. (but I didn’t delete any other text files for avoiding warnings while complieing)

(4) I started CS.

(5) But CS didn’t load my own dictionary data.

Where am I wrong? Shall I edit the property of the $cs_token?

Please advice me.

Thank you very much.

File Attachments
ka.txt  (File Size: 1KB - Downloads: 139)
 

 
  [ # 1 ]

You should empty the ENGLISH folder and put your file in as k.txt

The system reads the single letter named files and the digit named files and other.txt .  It would not look for ka.txt

 

 
  [ # 2 ]

If you are merely augmenting the dictionary, then add your file contents into some other file already there

 

 
  [ # 3 ]

Thank you very much.

The name of a dictionary should be one character, like a.txt. O.K. I see.

And your advice to add my contents into some other file already is more useful for me.

I’ll try like that.

Thank you again!

 

 
  login or register to react