Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: ProjectALA

  1. #1

    ProjectALA

    Greetings everyone!
    For my masters degree I started making a program that "learns" from written text. Then, it can use its knowledge database to spell-check, etc.

    It's in early development stage and I've made a simple function that generates random phrases using knowledge obtained from text. The unexpected thing was that sentences resulted very funny!!!

    Right now I've selected all text from PGD News page, pasted it to the pogram and it learned. Now here are random phrases generated from it:

    1) "post mortem by ceo john carmack last week trip"
    2) "i have the newest registered user requests in the offered playback engine planned"
    3) "thus we all the quake translation women in english so that binds all major shading modes languages"
    4) "afterwarp interactive has been no defined amount of moon"
    5) "preperations for the man was born to help make the main portion of august"
    6) "what can buy new wiki system for sure other great topics by sulaco s community is described as an enhanced webpage and excess folders in this weekend will free pascal available on pgd for the game development isn't notice yet"
    7) "compatible with every new cars and members coming aswell"
    8 ) "will free pascal in the articles in it s own berotracker seemingly unnoticed on pgd for musicians"
    9) "what can be gradually reducing a hidden gem amoung the game you now several speed improvements in the creation of august"
    10) "will be possible with armed vehicle fighting with your bank account grows you use render targets with asphyre"

    If there is interest, I could upload my program
    Cheers!

  2. #2

    ProjectALA

    Sounds like a fun, but difficult project.
    I'm not sure I understand what it is supposed to be doing though.
    Should it give a summary of a given text?

    Its an interesting subject though. Main question that comes to mind is how you make a computer to understand a text if it has no understanding of the words?

  3. #3
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    ProjectALA

    I think its based on sentance structure and word association. So it can identify nouns etc and what adjectives can desribe those nouns. It can then build sentances based on the subject matter that sort of make sense
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

  4. #4

    ProjectALA

    Hehe

    Takes me back to good ol' mark v chaney

    By all means upload. This sound like a cool project.
    What methods do you use for learning and sentence generation?
    I've been trying for some time to develop a lifestyle that doesn't require my presence. - G.B. Trudeau

  5. #5

    ProjectALA

    The program at its initial stage "learns" from written text by identifying word associations, without having any knowledge about any specific word. The purpose of this project is the following:

    1) Make phrases for some specific purpose (e.g. "Please, click here to continue") without having knowledge about that specific language. This will require to configure learned words with some sort of "decision marks".
    2) Guess or find missing words (e.g. "I want eat" to "I want to eat"), again, language independent.
    3) Get a vague idea of specific text (similar to (1), uses heuristics to determine the purpose)
    4) Determine the language of the text: you give few words specific to one language and based on associations it propagates this information to the rest of known words.

    Anyway, there are many more applications that can come out of this. The project is not easy and it will require a lot of processing and database queries.

    Right now it can retreive basic word associations and based on that, generate a random sentence that may or may not have any sense in it (it may even be even incorrect).

    Even now I took the text from this thread (and my current post), gave to the program and it generated the following phrase: "I started making a program at its an enhanced webpage and it is not have any specific word associations."

    Since it takes completely random turns around the knowledge databases, the sentences can be cyclic, large or simply wrong. This is because there is no purpose for generating the phrase yet.

    You can download the project from:
    http://www.afterwarp.com/downloads/projectala010.zip.

    Usage: copy text from somewhere, paste it to the "source text" box, press Add or Replace database and then "Generate".

    Feel free to post any funny or other interesting sentences generated with the applicaion in this thread

  6. #6

    ProjectALA

    Heh, this is quite fun

    I used it on a story found : here

    :arrow: You can check to see who doesn't have an alibi between nine.
    :arrow: I was a bummer all right.
    :arrow: And max helped coach thornton replant the log book.
    :arrow: Let's see who could have alibis.

    Its pretty cool to see some sentences are contructed correctly.
    :arrow: He turned off his eyes

    Good idea. Time to get some sleep

  7. #7
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    ProjectALA

    Hmm... well when I get some time I'll be playing with this.

    Maybe you can find a way to incorporate some sort of NNA 'brain' to learn what combinations make more sense? Learning can be as simple as it reading the story, ask it a question and have it give you back a series of answers. You pick the 'best' questions out of a series... Eventually it 'in theory' would make more sense out of it's sentances.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  8. #8
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    ProjectALA

    Hmm... thinking further on it...

    It could be work on in two steps.

    1st) Adapt the first NN to support proper sentence learning.

    AND

    2nd) Adapt a second NN to seperately learn how to properly address the question properly.

    Both layers being independant, except for the obvious linking of the decisions to give back peoper information...
    Jason McMillen
    Pascal Game Development
    Co-Founder





  9. #9

    ProjectALA

    @ WILL: Indeed there are several techniques that can be applied to this. Additionally, something related to common sense would help construct more logical sentences. I'm still researching though...

    I have googled for some joke stories and added them to database.

    The results aren't that bad:
    1) "I smiled and the girl he did the bed where he went out with."
    2) "He was sick and got pregnant last night."
    3) "You want me to call him and the man awoke as soon as he went through."
    4) "The san francisco and i smiled and mop the one arm and i was sounding pretty badly in his own."
    5) "My wife's being able to live by the phone."
    6) "But you want him to have learned your lesson and milk and they always want me to work every day while my name definitely is she."
    7) "They always want me as they also discovered something they are."
    8) "The man awoke and the parents flew to help us."
    9) "My son hung up the heart you got the phone."
    10) "He went through so wrong number and snapped fresh beans for his wife."

    What I'll try to do next is this: you give two words and it should create a sentence with both of them; or, you give two words and a number of words between them and it should attempt to find a match. Example: for input "John employee" it should say something like: "John is a good employee"; or for input: "Work fishing" it should say: "I'll go fishing after my work". Of course, the program is more creative than expected and would also give some crazy combinations nobody ever heard about...

  10. #10

    ProjectALA

    FABULOUS! This is one smart application!

    Here's a few semi-intellegent ones I got (Programming Post, rec.games.roguelike.development):
    1) When dealing with significantly reduced development has a script is the old method of all loaded through scripts.
    2) That comes to the image initialization scripts.
    3) A monster might look something like this.

    They also seem to be majorly funny by normal generation.

Page 1 of 2 12 LastLast

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
  •