This article describes how to use a Python chatbot to recommend Python libraries or open-source projects for Chinese word segmentation, data mining, and AI. For more information, see
# Wiki/1514.html "target =" _ blank "> What are Python chatbots recommended for Chinese word segmentation, data mining, and AI Python libraries or open-source projects?
Accuracy Test (online test is provided using the corresponding project, and user-defined dictionary is not added)
Stuttering Chinese Word Segmentation: 209.222.69.242: 9000/
Chinese Emy of sciences word segmentation system ictclas.org/ictclas_demo.html
Smallseg smallseg.appspot.com/smallseg
Snailseg snilsegdemo.appspot.com/
(The websites of the latter two need to go through the wall)
Test text 1
Once a month, the MIIT virgins will be reported to their respective departments to install 24 vswitches and other technical devices.
Test results:
Jieba Chinese Word Segmentation:
MIIT/n female officer/n monthly/r pass/p subordinate/v Department/n all/d/v User/n account/n 24/m Port/q switch/ n and others/u technical/n devices/n/uj installation/v operation/vn
Chinese Emy of sciences word segmentation system:
Work/n letter/n Virgin/n officer/n monthly/r pass/p subordinate/v Department/n all/d to/v user/d account/v 24/n port /q switch/n, etc./udeng technical/n device/n/ude1 installation/vn work/vn
Smallseg:
Each month, the Ministry of Industry and Information Technology (MIIT) female officers will be responsible for the installation of 24-port switches and other technical devices in subordinate departments.
Snailseg:
MIIT/female/officer/Monthly/post/subordinate/department/all/need/user/account/24/Port/Switch/etc/technical/device/installation/work
Bytes -----------------------------------------------------------------------------------------
Test Text 2
The Ministry of Industry and Information Technology (MIIT) of the Ministry of Industry and Information Technology (MIIT)
Test results:
Jieba Chinese Word Segmentation:
Work/n emails/n locations/zg female/B users/zg events/n monthly/r users/zg past/zg/m users/zg departments/n all/d requests /v parent/zg port/q description/n 24/m oral sex/n slave/zg machine/zg and so on/u technology/ng slave/zg performance/ng device/n/ uj security/v Networking/zg work/vn
Chinese Emy of sciences word segmentation system:
Engineer/n letter/n department female/n department/r Department/p department/n department/d department/v Department/d department/ v 24/n port/q ER/n, etc./udeng technical features/n device/n/ude1 security module/vn operation/vn
Smallseg:
Work/email/location/female/Workshop/event/Monthly/post/department/all/need/Kiss/mouth/account/24/mouth/hand/ hosts // machine/other/technology/drivers/parts/Security/installation/work
Snailseg:
Work/email/location/female/Workshop/event/Monthly/post/department/all/need/Kiss/mouth/account/24/mouth/hand/ hosts // machine/other/technology/drivers/parts/Security/installation/work
Bytes -----------------------------------------------------------------------------------------
Test Text 3
SCANV website Security Center (scanv.com) is a comprehensive website security service platform. Through the website security center, you can easily check whether the website to be accessed has malicious behaviors, and report and expose illegal and malicious websites online in SCANV.
Test results:
Jieba Chinese Word Segmentation:
SCANV/eng URL/n security/an Center/n scanv/eng com/eng is/v A/m comprehensive/n/uj URL/n security/an service platform/n /p URL/n security/an Center/n users/n can/c convenience/a/uj query/v to access/v/uj URL /n whether/v exists/v malicious/v behavior/v simultaneously/c can/c in/p SCANV/eng/f Online/B report/v exposure/nz illegal/ malicious vn/v website/n
Chinese Emy of sciences word segmentation system:
SCANV/x URL/n security/an Center/n (/wkz scanv.com/x) /wky is/vshi A/mq comprehensive/n/ude1 URL/n security/an service platform/n. /Wj via/p URL/n security/an Center/n, /wd user/n can/v for convenience/a/ude1 query/vn to/v to access/v/ude1 URL/n whether/v exists/v malicious/ n behavior/n, /wd at the same time/c can/v in/p SCANV/x/f in/p line/n report/vn exposure/vn illegal/vn malicious/n website/n. /Wj
Smallseg:
SCANV Web site security center scanv.com is a comprehensive Web site security service platform. through the Web site security center, users can conveniently query whether the website to be accessed has malicious behaviors and report online exposure violations in SCANV. malicious Website
Snailseg:
SCANV/URL/Security/center/scanv/com/Yes/a/comprehensive/URL/Security/service platform/via/URL/Security/center/user/can/conveniently /query/to/access/URL/yes/no/existence/malicious/behavior/at the same time/in/SCANV/on/line/report /exposure/illegal/malicious/website
Bytes -----------------------------------------------------------------------------------------
Test Text 4
As Page games flourish, the design of logical judgment based on archives is reduced, but this cannot be completely ignored. There will always be some features that require calling local archives. For example, in the login module, remember the password function and store the password information locally. for example, in the IE browser, go to C: \ Documents and Settings \ (your Windows user name) \ Application Data \ Macromedia \ Flash Player \ # export dobjects \ (random numbers and letters) \ folder to view the SOL file storing the password. you can use minerva to view the file, as shown in, if the password is stored in plaintext, the SOL file is permanently saved unless it is manually cleared. if a player logs on to the server in a public environment, the account is compromised.
Test results:
Jieba Chinese Word Segmentation:
With the rise of/p page/m game/n/v to/v Now/uj page Game/n flourishing/a depends on/v Archive/v for/v logic/ n determine/v/uj design/vn reduce/v/ul but/c this/r also/d cannot/v complete/ad ignore/d drop/zg always/n some/v/m functions/n Yes/v need/v call/vn local/r Archive/v/uj for example/v login/v module/n/f remember /v password/n function/n will/v will/d password/n information/n storage/j in/p Local/r to/p IE/eng browser/n/ p example/v in/p C/eng Documents Ents/eng and/eng Settings/eng your/r/uj Windows/eng user name/n Application/eng Data/eng Macromedia/eng nbsp/eng Flash/eng Player/eng # export dobjects/eng some/m random/d numbers/n and/c letters/n folder/n under/f on/d can/c view/v storage/j password/n/uj SOL/eng file/n available/c use/v minerva/eng tool/n View/v as shown below/t figure/n /v password/n plaintext/nr storage/j/uj SOL/eng file/n is/v permanent/nr storage/v/uj unless/c manual/ n clear/v if/c player/n is in/p public/B environment/n/f login/v,/d will/v have/v steal number/n threat/vn from/v http/eng www/eng baidu/eng com/eng and/c http/eng www/eng baidu/eng com/eng
Chinese Emy of sciences word segmentation system:
With/p page/q Youxing/n/vf to/v Now/t/ude1 page/q game/v flourishing/, /wd depends on/v on/p Archive/vi to perform/vx logic/n judgment/v/ude1 design/vn to reduce/v/y, /wd but/c this/rzv block/q also/d cannot/v completely/ad ignore/v drop/v. /Wj Total/d/v has/vyou some/mq Functions/n is/vshi needs/v call/v local/rzs Archive/vi/ude1. /Wj such as/v login/v module/n/f,/wd remember/v password/n function/n, /wd stores/p password information/n in/p Local/rzs,/wd uses/p IE/x browser/n as/p example/n, /wd in/p C: /x \/x Documents Ents/x/w and/x/w Settings/x \/x (/wkz your/rr/ude1 Windows/x user/n name/q) /wky \/x Application/x/w Data/x \/x Macromedia/x &/x nbsp/x; /wf \/x Flash/x/w Player/x \/x #/x export dobjects/x \/x (/wkz some/mq random/B numbers/n and/cc letter/n) /wky \/x/w folder/under n/f/d/v can see/v storage/vn password/n/ud E1 SOL/x file/n,/wd can/v use/v minerva/x tool/n View/v, /wd:/v/vf/n/usuo/vg,/wd password/n Ming/ag civilization/n text/ng storage/v/ude1, /wd SOL/x file/n is/vshi permanent/n Save/ude1/v,/wd unless/c manual/B clear/vn, /wd if/c play/v home/n is in/p public/B environment/n/f login/v, /wd/d will/v has/vyou steal/vg/n threat/vn. /Wj from/v http:/x // w www.baidu.com/x // w and/v http:/x,/wn www.baidu...com/x
Smallseg:
With the rise of web games, the increasing popularity of web games relies on archiving to reduce the number of logic judgment designs, but this part cannot be completely ignored. there are always some functions that need to be called for local archiving. for example in the login module, remember the password function will store the password information locally. take the IE browser as an example in C \ Documents and Settings \ your Windows username \ Application Data \ Macromedia & nbsp; \ Flash Player \ # export dobjects \ some random numbers and letters \ folder, you can see the SOL file storing the password. you can use minerva tool to view the SOL file stored in plaintext as shown in the password is permanently saved unless manually cleared. if a player logs on to the system in a public environment, the account is compromised.
Snailseg:
With/page/Youxing/up/Now/page/game/flourishing/dependency/on/archiving/proceeding/logic/judgment/design/decrease// this/block/cannot/completely/ignore/drop/Always/some/functions/Yes/need/call/local/archived/for example/login/module/ in/remember/password/function/Will/put/password/information/store/locally/in/IE/browser/example/in/C/Documents/and/ settings/your/Windows/user name/Application/Data/Macromedia/nbsp/Flash/Player/# export dobjects/some/random numbers/characters/and/letters/files/folders//you can/view/store/password/SOL/file/you can/use/minerva/tool/view/as shown below/figure/show/password/plaintext /storage/SOL/file/Yes/permanent/save/Unless/manual/clear/if/player/under/public/environment/login/Will//with/steal/No./threat/Come/self/http/www/baidu/com/and/http/www/baidu/com
Conclusion: The test results show that the performance test of word segmentation speed and text length exceeds a certain length is not carried out. the custom dictionary is also a major factor that affects word segmentation and does not cover the test, the above two points are excluded. on the whole, the Chinese Emy of Sciences's word segmentation system is the best for traditional Chinese characters and website Word Segmentation. if you talk about text that is easy to be ambiguous, Jieba is good, the two are also more functional. I feel that if python is used for word segmentation, it is recommended to use Jieba or the Chinese Emy of sciences to call C library. if you are worried about calling C library and other problems, you can use the Jieba word segmentation system, which is a good choice, simple and traditional conversion before word segmentation; or the use of the Chinese Emy of sciences word segmentation, coupled with a custom dictionary, is also a good choice, but I am calling the C library in python to use the Chinese Emy of sciences word segmentation process, user-defined dictionary import takes precedence (for example, user-defined dictionary import and CITIC dictionary import. when the word segmentation content [people who believe in Buddhism in US] will be segmented into [US, CITIC, Yang, Buddhism, ), there are import failures, and function call security issues. You can select different word segmentation based on your needs. Try again when you are free!