Ktdictseg v1.4.01 new functions
Ktdictseg 1.4.01 was officially released today after a period of intense development. Thank you for your interest in this project. I hope my work will bring happiness to everyone.
1. Added support for Asp.net
Because the current path of the Asp.net application does not point to the web root or web root/bin, versions earlier than 1.4 cannot support the Asp.net application by reading the configuration file from the current working path. Version 1.4 has modified this error. Version 1.4 supports ASP. NET applications.
2. added multiple Word Segmentation
For more information, see ktdictseg 1.4.
3. Added support for relative paths (winform and Asp.net)
<? XML version = "1.0" encoding = "UTF-8" ?>
< Ktdictseg >
<! -- Unlogged words threshold. When the count exceeds this threshold, the Unlogged words are automatically added to the dictionary. -->
< Item Name = "Unknownwordsthreshold" Value = "100" />
<! -- Automatically insert Unlogged-on words that exceed the statistical threshold -->
< Item Name = "Autoinsertunknownwords" Value = "False" />
<! -- The term frequency is prioritized. If a long word is composed of multiple short words, the long word is ignored if the word frequency is low. If the frequency of the Central Hotel is lower than that of the Central Hotel, the Central Hotel is ignored. -->
< Item Name = "Freqfirst" Value = "True" />
<! -- Automatically counts the prefix and suffix of names, automatically counts non-Logon words, and automatically counts Word Frequency -->
< Item Name = "Autostudy" Value = "True" />
<! -- The number of seconds at which the latest dictionary and statistics are automatically saved. this parameter is valid when autostudy is set to true. -->
< Item Name = "Autosaveinterval" Value = "86400" />
<! -- Path of the dictionary file -->
<Item name = "dictpath" value = "data \"/>
<! -- Log File Name -->
< Item Name = "Logfilename" Value = "Ktdictseg. log" />
<! -- Match Chinese name -->
< Item Name = "Matchname" Value = "True" />
<! -- Filter deprecated words? -->
< Item Name = "Filterstopwords" Value = "True" />
<! -- Enable multiple word segmentation? -->
< Item Name = "Multiselect" Value = "True" />
<! -- Redundancy -->
< Item Name = "Redundancy" Value = "1" />
</ Ktdictseg >
See dictpath in ktdictseg. xml.
4. The dictionary tool supports searching by part of speech and word length.
5. The word export function is added to the dictionary tool to disable word lists.
Right-click the list box on the left and choose export from the shortcut menu to view the words in the list box.
6. Add an example of ASP. NET.
Configuration points:
1. Copy ktdictseg. XML to the bin directory.
2. Modify the dictionary path in the configuration file.
3. Run release \ demo.ktdictseganalyzer.exe, click "batch Insert" in the menu, and import news. xml,
News. XML can be downloaded from the project homepage. News. xml must be copied to the release directory.
7. Increase the output of parts of speech, weights, and other information
You must call the list <t_wordinfo> segmenttowordinfos (string Str) function for word segmentation.
Output parts of speech, weights, and other information in the tag field of the t_wordinfo structure.
Project Homepage
I made a simple project homepage, which is also on which you can access
Ktdictseg project Homepage
Ktdictseg 1.4 beta missing singlewords.txt File