Ticket #141 (closed defect: fixed)

Opened 2 years ago

Last modified 26 hours ago

API wrong? StandardAnalyzer really using FULL_ENGLISH_STOP_WORDS

Reported by: chris@… Owned by: somebody
Priority: minor Milestone:
Component: component1 Version:
Keywords: Cc:

Description

The api says it is using the ENGLISH_STOP_WORDS, but it seems to be using the FULL_ENGLISH_STOP_WORDS.

http://ferret.davebalmain.com/api/classes/Ferret/Analysis/StandardAnalyzer.html

I discovered this because I noticed that "will" is not being dropped from my queries, but it is in the ENGLISH_STOP_WORDS referenced in src/analysis/stopwords.c and lib/ferret/analysis/analyzers.rb

Ferret::Analysis::StandardAnalyzer?.new().token_stream(:title,'will').next

This points out something else that I found interesting: some words in the ENGLISH_STOP_WORDS are not in FULL_ENGLISH_STOP_WORDS (such as "will"). I haven't done my homework on this one, so maybe there is a reason for this, but thought I'd just point it out.

cheers

Attachments

Change History

Changed 10 months ago by anonymous

徐州辉煌钢结构工程有限公司是一家集网架钢结构设计、制作、安装及技术服务为一体的大型专业化企业。公司坐落于有网架之乡美誉的江苏省徐州市,这里是全国优质网架原材料供应基地,也是全国网架技术熟练工人培训基地,有着人才,技术和原材料的地域优势。企业创办多年来,本着"求实创新、开拓进取"的精神,不断引进吸收国内外先进技术经验,汇集来自全国各地从事专业管理,专业设计、制造、检测试验等高级优秀人才,配置了各种先进的成套生产和检测设备,能满足制造生产能力要求的流水生产线。公司始终本着“诚信为本、信守合同、用户至上”的理念,坚持贯彻实践三个“第一”——质量第一、信誉第一,服务第一,企业不断深化改革,深挖潜力,降低成本,以最低的价格吸引客户,以最好的质量服务客户,让辉煌网架钢构建设遍布全国各地,多年来深受广大客户及建设单位的一致好评。

竭诚欢迎各界新老朋友真诚合作、共创辉煌、共享绩效,公司将一如既往地为各界朋友提供优秀的服务!

Changed 26 hours ago by Corleon2

The Wright Bothers weren't the first to fly. They were just the first not to crash.

compra viagra originale cialis generico compra viagra generico compra cialis originale compra levitra italia

Add/Change #141 (API wrong? StandardAnalyzer really using FULL_ENGLISH_STOP_WORDS)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.