Professional Web Applications Themes

Using Perl for English Grammar - PERL Beginners

Hi there, I am interested in using Perl to generate proper English grammatical sentences from a set "list of words" and NOT from texts. I was wondering whether there was any Perl code around that I could have a look at, use and be able to manipulate. There is not much around. I need it for Windows and that is the problem. :( Are there any potential sites, literature, research papers that you would recommend I look at, or perl experts in this field I could contact perhaps. Any help would be gratefully appreciated. :) Jane __________________________________________________ ______________________ BT Yahoo! ...

  1. #1

    Default Using Perl for English Grammar

    Hi there,

    I am interested in using Perl to generate proper
    English grammatical sentences from a set "list of
    words" and NOT from texts.

    I was wondering whether there was any Perl code around
    that I could have a look at, use and be able to
    manipulate. There is not much around. I need it for
    Windows and that is the problem. :(

    Are there any potential sites, literature, research
    papers that you would recommend I look at, or perl
    experts in this field I could contact perhaps.

    Any help would be gratefully appreciated. :)

    Jane


    __________________________________________________ ______________________
    BT Yahoo! Broadband - Save 80 when you order online today. Hurry! Offer ends 21st December 2003. The way the internet was meant to be. [url]http://uk.rd./evt=21064/*http://btyahoo.yahoo.co.uk[/url]
    Jane langley Guest

  2. #2

    Default Re: Using Perl for English Grammar

    On Dec 8, 2003, at 3:33 AM, Jane Langley wrote:
    > Hi there,
    >
    > I am interested in using Perl to generate proper
    > English grammatical sentences from a set "list of
    > words" and NOT from texts.
    >
    > I was wondering whether there was any Perl code around
    > that I could have a look at, use and be able to
    > manipulate. There is not much around. I need it for
    > Windows and that is the problem. :(
    >
    > Are there any potential sites, literature, research
    > papers that you would recommend I look at, or perl
    > experts in this field I could contact perhaps.
    Most of the things I can remember seeing are about Perl reading
    English, not writing it. There are a few programs and modules you
    might enjoy taking a look at in the book "Games, Diversions & Perl
    Culture", but I probably better warn you that I didn't enjoy that book
    much first.

    How big a list of words are we talking about here? What sentences will
    we be writing? About what? If you can give us some more details, we
    may be able to offer up some ideas.

    James

    James Edward Gray II Guest

  3. #3

    Default Re: Using Perl for English Grammar


    On Dec 8, 2003, at 1:33 AM, Jane Langley wrote:
    [..]
    > I am interested in using Perl to generate proper
    > English grammatical sentences from a set "list of
    > words" and NOT from texts.
    [..]

    I think a part of the problem is sorting out
    what "proper english grammatical sentences" be
    about in the first place.

    One of the reasons that we code in 'formal languages'
    is to AVOID all the unsightly angst of 'natural languages'.

    The classic gag being

    "over the fence the cow some hay throw"

    which uses an 'english' lexicon, but a 'german' grammar.
    Most americans would reconstruct that sentance a la

    throw the hay over the fence 'to' the cow.

    as you will note from

    <http://www-106.ibm.com/developerworks/linux/library/l-perl-speak.html>

    you will probably want to get yourself
    P::RecDescent as you start sorting
    this mess out.


    ciao
    drieux

    ---

    Drieux Guest

Similar Threads

  1. Grammar Checker
    By Nitestarz in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 0
    Last Post: June 7th, 03:44 PM
  2. Replies: 2
    Last Post: August 7th, 08:04 AM
  3. make spell and grammar check possible in text area of a web page
    By Bhupesh Naik in forum ASP.NET Building Controls
    Replies: 0
    Last Post: August 6th, 07:33 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139