cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
lala
Level VIII

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

大家好!


我使用的中文版、我找到了软件的默"文本分析"模块默认词库文件、在文件中加入了自己的自定义词库、但在分析时这个新增加的词不起作用。

2022-02-11_155607.png

2022-02-11_103236.png
请教专家:在"文本分析器"模块中、用户自定义的词库如何加入软件的默认词库中?

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

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

例如、我直接这个默认的词库中添加了一个自定义词。

 

当进行含有这个 新词的文本进行分析时、这个词不能出现

2022-02-11_200643.png

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

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

感谢专家!

 

我试着这样写入两个自定义词、但分析时仍然没有起作用

2022-02-12_110519.png

lala
Level VIII

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

OS:win 7 64bit

JMP Pro 15.2.1

 

Thanks!

lala
Level VIII

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

这个用户文件、我放在两个文件夹都试过。还是没有成功。

 

2022-02-12_112454.png

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