Can I amend the Stop Word list?

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Colum
Propeller Head
Posts: 44
Joined: Thu Apr 11, 2013 3:15 am
Location: The (not so) United Kingdom
Contact:

Can I amend the Stop Word list?

Post by Colum »

Hi. Is it possible to amend the list of stop words in Flare for a WebHelp target? I can't find a way of doing this in the UI but even if there was an "under the hood" method this would be cool. We have a requirement to enable our users to search on formula syntax which includes things like "IF", "AND", "OR" etc.
wclass
Propellus Maximus
Posts: 1238
Joined: Mon Feb 27, 2006 5:56 am
Location: Melbourne, Australia

Re: Can I amend the Stop Word list?

Post by wclass »

I don't think you can modify the STOP words list, but you can set an option to include them in the search.

Open the target and look on the Performance tab, then scroll to the "Search Database" frame - there are options to include or exclude stop words.
Margaret Hassall - Melbourne
Colum
Propeller Head
Posts: 44
Joined: Thu Apr 11, 2013 3:15 am
Location: The (not so) United Kingdom
Contact:

Re: Can I amend the Stop Word list?

Post by Colum »

wclass wrote:I don't think you can modify the STOP words list.
That is a real shame :x as we want to have a stop word lists for lots of other words.
Colum
Propeller Head
Posts: 44
Joined: Thu Apr 11, 2013 3:15 am
Location: The (not so) United Kingdom
Contact:

Re: Can I amend the Stop Word list?

Post by Colum »

A supplementary question if I may. If my project has a English UK language setting but I also have topic with a German (Germany) language setting, can I see what the stop list words are in the additional language. The stop lists appear to be only listed inside the help file and the language for this is taken from the install. So how can I be sure that the stop list words in German are the same?
rob hollinger
Propellus Maximus
Posts: 661
Joined: Mon Mar 17, 2008 8:40 am

Re: Can I amend the Stop Word list?

Post by rob hollinger »

Stop words are derived from a dll so its not possible to see them or edit them.
There is a work around you can do forcing Flare to use your own stop words if you would like. This needs to be done on each persons machine that builds the targets.


Work Around
Through the use of Language skins, you can insert your own list of stop words. This can also be done with other languages as well.
Attached is a zip file that contains an English language skin (fllng). We have populated it with all the current stop words for English projects.
To install this language skin and other language skins:

In Flare click Tools > Manage Language Skins
- Scroll down and select "English"
- Click "Open File For Editing"
- Close this file in Flare - We just need to open it so we can create the file in the local users appdata folder.
Browse to the following location:
- C:\Users\[USER NAME]\AppData\Roaming\MadCap Software\Flare\Language Skins
- Unzip the attached file and place it in this folder.
- Open the en.fllng file in a text editor and notice how the stop words are set up in the XML. The tags are case sensitive and all stop words should be lowercase.
- Open a project in Flare
- Open the target and click on the Language tab
- Select "English"
- Build and test.

Using these same steps, you can build stop words for other languages as well. Because the language skins are stored in the users local folders, each person building with Flare will need to copy these files into the same location.
*Note – Be sure the proper language is set in the target so it will use the proper language skin.

This topic talks about how to create language skins. It says it’s not supported in HTML5, but for stop words – it is supported.
http://webhelp.madcapsoftware.com/flare ... _Skins.htm
You do not have the required permissions to view the files attached to this post.
Rob Hollinger
MadCap Software
Colum
Propeller Head
Posts: 44
Joined: Thu Apr 11, 2013 3:15 am
Location: The (not so) United Kingdom
Contact:

Re: Can I amend the Stop Word list?

Post by Colum »

Thanks Rob. I'll check this hack out.
Post Reply