Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8214087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:20:30+00:00 2026-06-07T11:20:30+00:00

I have a word document that has occurrences of both perform and performance. When

  • 0

I have a word document that has occurrences of both “perform” and “performance”. When I use the advanced find tool in the Word UI (goal to eventually translate this to the Find.Execute command for C# programmatic searching), I get difference results when i have the Match All Word Forms option checked.

When I search for “perform”, I get both the occurrences for “perform” and “performance”.

When I search for “performance”, I only get hits for “performance”, even though “perform” should still register as a word form for “performance”.

Does anyone know how Word uses its search algorithm or how I could make sure searching for “performance” shows both the results for “perform” and “performance”?

Edit (7/11/12 16:34)-
I ran a couple of test combinations to see if I could find a pattern for myself, and well… it wasnt all that promising (Capitalization matters !?!).
The document these results were obtained from was a simple word document with both upper and lowercase capitalization of each word form. Each search found both the upper and lowercase versions of the word.
Here are the results of a few searches and their apparent conclusions
(Do a ‘RightClick->Open Image In New Tab’ to see the full-size image detail)
If anyone can link to documentation clarifying this for me it would be greatly appreciated!

Edit (7/12/12 9:49)-
Even more sadness: I tried switching from the interface inside Word to the Find.Execute command in C# and the matchSoundsLike parameter does not function in the same way that the UI Advanced Find functions 🙁 It seems that the programmatic matchSoundsLike flag only finds sounds-like forms that match case, even though I have matchCase explicitly set to false.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T11:20:31+00:00Added an answer on June 7, 2026 at 11:20 am

    This seems to be an adaptation of Query Expansion, a rather important area in Information Retrieval.

    I would advise against building a query expansion engine yourself as that’s more of a project for a Masters (or possibly a PhD) thesis than a smaller feature of a larger project. However, if you still wish to implement this feature yourself I suggest you start with a Google Scholar search for “query expansion” and read up on some of the modern techniques.

    As far as pre-existing libraries, most packages focus on web searches and databases so I’m having a hard time finding anything for searching text files. Google Query Expansion doesn’t explicitly say that it’s an extension for Google APIs, but that’s the impression that I get. Microsoft SQL Server seems to have this functionality built-in. There’s an Apache Lucene module which also implements this. MySQL also has an implementation.

    If you wish to use a pre-existing package it seems you will at the very least need to modify your program’s structure such that the text is stored in a database. This would change your problem from a text search problem into a corpus search problem, which are heavily studied and will have more documentation and tools by outside sources. That said, without knowing your data I don’t know if this is a worth-while solution nor what structure you should choose.

    Best of luck. I am sorry I was unable to directly answer your question but I hope I gave you some good sources of information.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been given two different Microsoft Word document that my virus scanner has
I have a word document that was saved as xml. now I need to
Every now and then I receive a Word Document that I have to display
I have quite big document in html format that generated from Microsoft Word. It
I have the requirement that I need to open a document in Microsoft word
I have a word document with a bookmark. I use the bookmark to get
I have a Word 2003 XML document that I am trying to search for
I have an Excel document that has a single column of strings (around 400
I have a ASP.NET intranet application that has a document library section. The user
I have a Word document that starts with a Table of Contents. I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.