Giter VIP home page Giter VIP logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
This is not a bug, this is feature:)

英文与中文不同,有单复数、时态、名词/动词/形容词也有不
同写法,在搜索的时候需要考虑“词
根化”,也即去掉语法后缀,英文叫stem,例
如"changes"->"change","university"->"univers",这样以关键词任意形��
�搜索的时候都可以
找到其他形态的匹配结果了。

stemming在imdict-chinese-analyzer中是由PorterStemFilter来实现的,如果
你不需要
stemming,可以将 
        result = new PorterStemFilter(result); //SmartChineseAnalyzer.java中
这一行注释掉,或者寻找一些自定义的stemFilter代替。

Original comment by [email protected] on 15 Dec 2009 at 1:43

from imdict-chinese-analyzer.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
不想用来索引的词,
应该可以类似PorterStemFilter如法炮制。

或者类似StopWords一样进行过滤。

Original comment by [email protected] on 16 Dec 2009 at 1:02

from imdict-chinese-analyzer.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.