EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #03068


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: IRStats2 - Family names of creators not displaying with appropriate capital letters

  • To: eprints-tech@ecs.soton.ac.uk
  • Subject: [EP-tech] Re: IRStats2 - Family names of creators not displaying with appropriate capital letters
  • From: Centro de Documentación <cendocu@gmail.com>
  • Date: Fri, 23 May 2014 14:16:40 -0300

Seb,

It works, but not always accurate. I have a problem with capital
letters after accent marks in family and given names.

Before applying the patch "lingua"
Alvarez cema, Juan alberto

After (Ok)
Alvarez Cema, Juan Alberto


Before applying the patch
González carella, María inés

After (Wrong)
GonzáLez Carella, MaríA InéS

Should be
González Carella, María Inés

Any suggestion?

Regards,




On Fri, May 23, 2014 at 1:27 PM, Sebastien Francois <sf2@ecs.soton.ac.uk> wrote:
> Hi,
>
> I see - re-reading that ticket, perhaps graingert's suggestion is the right
> one after all. I don't really like adding extra dependencies but because
> they are so many different rules to format a name, it's out-of-scope for
> irstats2.
>
> I see that Lingua::EN::NameCase is available through apt-get (for ubunt'ers
> - liblingua-en-namecase-perl).
>
> See my comments on https://github.com/eprints/irstats2/issues/6 - I added a
> patch for NameCase which worked nicely on my test machine.
>
> Seb.
>
>
>
> On 23/05/14 17:08, Centro de Documentación wrote:
>
> Seb,
>
> Yes. The patch only deals with given names:
>
> Before applying the patch
> Martínez robles, Juan pablo
>
> After
> Martínez robles, Juan Pablo
>
> Regards,
>
>
> On Fri, May 23, 2014 at 10:53 AM, Sebastien Francois
> <sf2@ecs.soton.ac.uk> wrote:
>
> Hola,
>
> Have you re-generated the sets after applying the patch?
>
> Seb.
>
> PS: process_stats <id> --sets-only --verbose
>
> On 22/05/14 18:29, Centro de Documentación wrote:
>
> Hi guys,
>
> This patch <https://github.com/eprints/irstats2/issues/6> doesn't
> handle these variations:
>
> López de Losa, Juan Carlos is displayed as López de losa, Juan Carlos
> Martínez Ferreyra, José Luis => Martínez ferreyra, José Luis
> de la Rosa, Federico Edgar => De la rosa, Federico Edgar
>
> How can I fix that?
>
> Regards,
>
> Cristian
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
>
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
>