Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2006
    Location
    Oxford/Barcelona
    Posts
    47
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Need script edited (Perl I think)

    Hi,

    I'm looking to install a 'textcat' language guesser script/s to my website (www.exigotranslations.com and www.listlanguage.com).

    I can get the scripts here: http://odur.let.rug.nl/vannoord/TextCat/

    but it only has two lines of instructions which I don't fully understand:

    Edit the text_cat script to have the first line point to your Perl binary. Edit the text_cat script to have $opt_d point to the LM directory.

    Can anyone give me a quote (US$ or GB£ or €) for editing the script and installing it on my two websites. Others have done this, see http://www.wolfestone.co.uk/language_identifier.php

    If you need any more info, get back too me.

    Thanks in advance.

    Richard.

  • #2
    New Coder
    Join Date
    Dec 2009
    Posts
    63
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Usually the default perl binary is located at /usr/bin/perl. The first line should look like

    Code:
    #!/usr/bin/perl
    . If you have shell access to your you can type "which perl" and it should display the location of the perl binary.

  • #3
    New Coder
    Join Date
    Nov 2006
    Location
    Oxford/Barcelona
    Posts
    47
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Hi,
    Thanks for that.
    I haven't really dealt with Perl or something like this before, so think it is well beyond me.

    Is this something you would be interested in, to take as a job (paid).

    The files can be downloaded at: http://odur.let.rug.nl/vannoord/TextCat/

    under the link: sources. It is a free and shared script.

    Thanks.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •