• 请不要在回答技术问题时复制粘贴 AI 生成的内容
anonymoustian
V2EX  ›  程序员

NLP 中有没有直接用来分词的程序或者库函数,可以对没有空格的英语单词进行分词?

  •  
  •   anonymoustian · May 17, 2016 · 3384 views
    This topic created in 3696 days ago, the information mentioned may be changed or developed.

    我现在想直接用一个库,就是直接调用的那种。

    程序输入: todayweathergood

    程序输出

    today , weather , good

    原理什么的都需要太明白,我大致了解,因为工程上要用,有没有直接拿来搞的库?

    谢谢!

    2 replies    2016-05-17 21:01:47 +08:00
    yuyang1110
        1
    yuyang1110  
       May 17, 2016
    http://www.pullword.com/

    英文没必要分词吧。。
    27
        2
    27  
       May 17, 2016
    应该没有这种东西
    楼主可以考虑用中文分词的工具,词典换成英文字典,原理就跟你的要求类似
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5463 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 08:13 · PVG 16:13 · LAX 01:13 · JFK 04:13
    ♥ Do have faith in what you're doing.