Hi,
Your finding is correct. But we are using for cts:stem('personae', 'en'), there
we are getting persona. So my question was is it a Marklogic issue to give
persona for cts:stem('personae', 'en') or its an expected scenario. Because
based on this I will change my code. That is if the output for cts:stem with en
as language is correct then I will go for french option.
Thanks & Regards,
Amrita
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Christopher Hamlin
Sent: Wednesday, June 08, 2016 4:12 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Marklogic Issue with Ligature
Hi,
Are you sure everything is being done in French?
I just tested and
cts:stem ('personae', 'en'),
cts:stem ('personae', 'fr')
gives
persona
personae
=ch
On Mon, Jun 6, 2016 at 2:14 AM, Mohapatra, Amrita (LNG-CON)
<[email protected]> wrote:
>
>
> HI,
>
>
>
> I am currently working on some French enhancement. In that for French
> Ligature “AE” (æ) since Marklogic did not recognized this as ligature
> (that is both ae and æ will be treated as same words) I added
> manually the equivalent words (containing æ) in my dictionary files.
> But now when I am searching for search term “personae” and “personæ” I
> should get same results. But I am getting different. On checking with
> my codebase I found the issue is with cts:stem (). When I am doing
> cts:stem personæ I am getting result as “persona”. As a result of
> which my result count is not coming as expected. Can anybody tell me
> the reason as why for personae I am getting stemmed word as persona? How to
> solve this issue?
>
>
>
> Example: cts:stem(“personæ”)
>
> Result : persona
>
>
>
> Thanks & Regards,
>
> Amrita
>
>
>
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general