<chapter>
<title>Test section</title>
<section>
- <title>Some problematic search words</title>
- <para>buy, say, by, vary, try, sky, nucleus, day, key, currency, currencies, build.xml, foo</para>
+ <title>Some search words for testing</title>
+ <para>arsenal, arsenic, buy, say, by, vary, try, sky, nucleus, day, key, currency, currencies, build.xml</para>
</section>
<section>
- <title>Some problematic search words (inflected)</title>
- <para>buys, says, varies, tries, skies, nuclei, days, keys, currencies, build.xml, foo.</para>
- <note>
- <para>Test of admon graphics</para>
- </note>
+ <title>Some search words for testing (inflected)</title>
+ <para>arsenal, arsenic, buys, says, varies, tries, skies, nuclei, days, keys, currencies, build.xml</para>
</section>
</chapter>
\ No newline at end of file
w = origword;
}
- // These are all overstemmed as gener-
- // What about commun- words?
+ // Address words overstemmed as gener-
re = /.*generate?s?d?(ing)?$/;
if( re.test(origword) ){
w = w + 'at';
if( re.test(origword) ){
w = w + 'ous';
}
- // These are overstemmed as commun-
+ // Address words overstemmed as commun-
re = /.*communit(ies)?y?/;
if( re.test(origword) ){
w = w + 'iti';