cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Choose Language Hide Translation Bar
View Original Published Thread

In the "Text Analyzer" module, how can the user-defined thesaurus be added to the default thesaurus of the software?

lala
Level VIII

Hello everyone!


The Chinese version I use, I found the default thesaurus file of the software's default "text analysis" module, and added my own custom thesaurus to the file, but this newly added word does not work during analysis.

undefined

undefined
Ask the experts: In the "Text Analyzer" module, how to add the user-defined thesaurus to the default thesaurus of the software?

This post originally written in Chinese (Simplified) and has been translated for your convenience. When you reply, it will also be translated back to Chinese (Simplified).

1 ACCEPTED SOLUTION

Accepted Solutions
Craige_Hales
Super User

回复: 在"文本分析器"模块中、用户自定义的词库如何加入软件的默认词库中?

The user dictionary has an "action" column. use "add" to add words. The notes for the user dictionary has a little more detail.

user dictionary notes says: This is the list of words to add or delete from the dictionary text explorer uses for parsing text. Action should be 'add' or 'delete'.user dictionary notes says: This is the list of words to add or delete from the dictionary text explorer uses for parsing text. Action should be 'add' or 'delete'.

Craige

View solution in original post

11 REPLIES 11
lala
Level VIII

Reply: In the "Text Analysis" module, how to add the user-defined thesaurus to the default thesaurus of the software?

For example, I added a custom word directly to the default word library.

 

When analyzing text containing this new word, the word must not appear

undefined

This post originally written in Chinese (Simplified) and has been translated for your convenience. When you reply, it will also be translated back to Chinese (Simplified).

Craige_Hales
Super User


回复: 在"文本分析器"模块中、用户自定义的词库如何加入软件的默认词库中?

Try using the file named dictionary_User.jmp in the same directory.

Make sure you restart JMP after changing the dictionary. The dictionary is only loaded once, the first time it is needed.

Craige
lala
Level VIII

Reply: In the "Text Analyzer" module, how to add the user-defined thesaurus to the default thesaurus of the software?

Thanks experts!

 

I tried to write two custom words like this, but it still doesn't work when parsing

undefined

This post originally written in Chinese (Simplified) and has been translated for your convenience. When you reply, it will also be translated back to Chinese (Simplified).

lala
Level VIII

回复: 在"文本分析器"模块中、用户自定义的词库如何加入软件的默认词库中?

OS:win 7 64bit

JMP Pro 15.2.1

 

Thanks!

lala
Level VIII

Reply: In the "Text Analyzer" module, how to add the user-defined thesaurus to the default thesaurus of the software?

This user file, I have tried it in both folders. Still no success.

 

undefined

This post originally written in Chinese (Simplified) and has been translated for your convenience. When you reply, it will also be translated back to Chinese (Simplified).

Craige_Hales
Super User

回复: 在"文本分析器"模块中、用户自定义的词库如何加入软件的默认词库中?

The tiny user dictionary is in the same directory as the downloaded dictionary.

The path is printed in the log when you use Text Explorer.The path is printed in the log when you use Text Explorer.You found it here.You found it here.

 

Restart JMP after making changes.

 

Craige
Craige_Hales
Super User

回复: 在"文本分析器"模块中、用户自定义的词库如何加入软件的默认词库中?

The user dictionary has an "action" column. use "add" to add words. The notes for the user dictionary has a little more detail.

user dictionary notes says: This is the list of words to add or delete from the dictionary text explorer uses for parsing text. Action should be 'add' or 'delete'.user dictionary notes says: This is the list of words to add or delete from the dictionary text explorer uses for parsing text. Action should be 'add' or 'delete'.

Craige
lala
Level VIII

回复: 在"文本分析器"模块中、用户自定义的词库如何加入软件的默认词库中?

可以了、感谢专家的帮助。

我粗心、没有仔细看这个文件中的说明。

 

2022-02-12_205431.png2022-02-12_205236.png

Craige_Hales
Super User

回复: 在"文本分析器"模块中、用户自定义的词库如何加入软件的默认词库中?

Anyone watching and wondering: the dictionary is used to try to solve the problem of making words from a string of characters with no delimiters between words.

 

forexampleifenglishlanguagetextwaswrittenwithoutspacesbetweenthewordsandeveryletterwasavalidwordallbyitself

which should be tokenized as 

 

 

for example if english language text was written without spaces between the words and every letter was a valid word all by itself

and not

 

 

ex ample...with out...word sand...it self...

(I hope these code boxes prevent the automatic translation...)

word sand

 vs 

words and

nicely illustrates the problem.

 

Craige