Re: [Wikisource-l] Back to the Scroll

2010-08-16 Thread Alex Brollo
Thanks!

I just tried to build a template like this:

[[File:Library-logo-blue-outline.png|30px|link=
http://toolserver.org/~magnus/book2scroll/index.html
?lang=it&file={{urlencode:{{PAGENAME]], to be used into Index: pages.

But urlencode converts spaces into +, where your script doesn't like the
output of urlencode... it only likes names where spaces are replaced by
underscores.

How can I obtain this transformation by a parser function/by a template? Or:
can you modify the scripts, so that url encoded titles are accepted too?

I apologyze, if my question is banal.

Alex
___
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l


Re: [Wikisource-l] Back to the Scroll

2010-08-16 Thread Magnus Manske
On Mon, Aug 16, 2010 at 1:02 PM, Alex Brollo  wrote:
> Thanks!
>
> I just tried to build a template like this:
>
> [[File:Library-logo-blue-outline.png|30px|link=http://toolserver.org/~magnus/book2scroll/index.html
> ?lang=it&file={{urlencode:{{PAGENAME]], to be used into Index: pages.
>
> But urlencode converts spaces into +, where your script doesn't like the
> output of urlencode... it only likes names where spaces are replaced by
> underscores.
>
> How can I obtain this transformation by a parser function/by a template? Or:
> can you modify the scripts, so that url encoded titles are accepted too?
>
> I apologyze, if my question is banal.

Not at all, though
http://toolserver.org/~magnus/book2scroll/index.html?lang=it&file=De%27+matematici+italiani+anteriori+all%27invenzione+della+stampa.djvu
seems to work fine. You can also try {{PAGENAMEE}} (note the two E).

Note that sometimes, the Index: name is not the same at the actual
.djvu file, so you should allow attribute {{{1}}} to be the filename
(PAGENAME by default), and maybe the start page as {{{2}}}, default
"1". That would also allow for the template to be used anywhere, not
just on the index page.

Cheers,
Magnus

___
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l


Re: [Wikisource-l] Back to the Scroll

2010-08-16 Thread Alex Brollo
2010/8/16 Magnus Manske 

>
>
> Not at all, though
>
> http://toolserver.org/~magnus/book2scroll/index.html?lang=it&file=De%27+matematici+italiani+anteriori+all%27invenzione+della+stampa.djvu
> seems to work fine. You can also try {{PAGENAMEE}} (note the two E).
>

My question was definitely banal. With  {{PAGENAMEE}} the template
http://it.wikisource.org/wiki/Template:BackToScroll runs perfectly: see
http://it.wikisource.org/wiki/Indice:Rime_%28Vittorelli%29.djvu .
Thanks Magnus (even if some of our it.source users poined my mistake, I
appreciated a lot your attention and suggestions!)

Alex
___
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l


[Wikisource-l] Office hours with Sue Gardner

2010-08-16 Thread Philippe Beaudette

Hi all,

Sue Gardner, the Executive Director of the Wikimedia Foundation, will  
be having office hours this Thursday at 17:00 UTC (10:00 PT, 13:00 ET)  
on IRC in #wikimedia-office.


If you do not have an IRC client, there are two ways you can come chat
using a web browser:  First is using the Wikizine chat gateway at
.  Type a
nickname, select irc.freenode.net from the top menu and
#wikimedia-office from the following menu, then login to join.

Also, you can access Freenode by going to http://webchat.freenode.net/,
typing in the nickname of your choice and choosing wikimedia-office as
the channel.   You may be prompted to click through a security warning,
which you can click to accept.

Please feel free to forward (and translate!) this email to any other
relevant email lists you happen to be on.


Philippe Beaudette  
Head of Reader Relations
Wikimedia Foundation

phili...@wikimedia.org

Imagine a world in which every human being can freely share in
the sum of all knowledge.  Help us make it a reality!

http://wikimediafoundation.org/wiki/Donate

___
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l


Re: [Wikisource-l] Parallel text alignment

2010-08-16 Thread Lars Aronsson
On August 9, John Vandenberg wrote:
> On Sun, Aug 8, 2010 at 2:10 PM, Lars Aronsson  wrote:
>> Is there any good free software for aligning parallel texts and
>> extracting translations? Looking around, I found NAtools,
>> TagAligner, and Bitextor, but they require texts to be marked
>> up already. Are these the best and most modern tools available?
>
> there is a Mediawiki extension which is supposed to provide this:
> http://wikisource.org/wiki/Wikisource:DoubleWiki_Extension
>
> It is enabled on all wikisource subdomains.
> http://en.wikisource.org/wiki/Crito?match=el

This is a wonderful feature I didn't know about until now.
But it was not what I'm looking for. In computational
linguistics and natural language processing (NLP), a "text
aligner" is a piece of software that identifies which words
and phrases correspond to which in a translation. The
input is a translated text and the output is a dictionary.
It's like a more advanced "diff" tool.


-- 
   Lars Aronsson (l...@aronsson.se)
   Aronsson Datateknik - http://aronsson.se



___
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l