Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. An idea like no other... I need help!

An idea like no other... I need help!

Scheduled Pinned Locked Moved IT & Infrastructure
databasedesignhelptutorialquestion
9 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zf222
    wrote on last edited by
    #1

    I want to create a writing tool, something that could take a sentence and rewrite it into a different sentence that means the same as the first. Think of it as a sentence thesaurus. This program could use the words originally typed in as well as new ones. For example, if one typed in: "Sea Spiders are only found at the ocean floor, where there is little to no sunlight." It could rearrange the sentence into something like this: "Sea Spiders are only located where there is barely sunlight; the ocean floor." I understand it is difficult for computers to understand written language, which is why I'm unsure if this is even possible. I know that the particular bot/program I'm thinking of must do the following: -Identify sentence type -Identify Subject and Verb -Find synonyms for verb, and use them appropriately -rearrange sentence -grammar check sentence -correct grammar -Return finished product. From what I've gathered from various forums and tech whizzes, my idea is certainly plausible, however, it is very difficult. After looking at several bots that can comprehend what you say to it and then return an answer that makes sense, I feel like what I'm talking about should not be that as hard as everyone makes it out to be. As far as program design, I guess I would just work on one small thing at a time. Sentence rewriter? Too vague. Change some words? Still too vague. Change all adjectives with their synonyms? That's a small enough task, but vague in programming terms. Use a function to search the sentence for adjectives against a huge database file of adjectives, then create a loop to take each adjective and replace it with another synonymous adjective in a database file? Now that is both specific enough in human and programming terms. I suppose I should just break down each task in human terms first, then take each task and write it out in programming terms. I need help and input though, thanks a lot!!

    R D R D 4 Replies Last reply
    0
    • Z zf222

      I want to create a writing tool, something that could take a sentence and rewrite it into a different sentence that means the same as the first. Think of it as a sentence thesaurus. This program could use the words originally typed in as well as new ones. For example, if one typed in: "Sea Spiders are only found at the ocean floor, where there is little to no sunlight." It could rearrange the sentence into something like this: "Sea Spiders are only located where there is barely sunlight; the ocean floor." I understand it is difficult for computers to understand written language, which is why I'm unsure if this is even possible. I know that the particular bot/program I'm thinking of must do the following: -Identify sentence type -Identify Subject and Verb -Find synonyms for verb, and use them appropriately -rearrange sentence -grammar check sentence -correct grammar -Return finished product. From what I've gathered from various forums and tech whizzes, my idea is certainly plausible, however, it is very difficult. After looking at several bots that can comprehend what you say to it and then return an answer that makes sense, I feel like what I'm talking about should not be that as hard as everyone makes it out to be. As far as program design, I guess I would just work on one small thing at a time. Sentence rewriter? Too vague. Change some words? Still too vague. Change all adjectives with their synonyms? That's a small enough task, but vague in programming terms. Use a function to search the sentence for adjectives against a huge database file of adjectives, then create a loop to take each adjective and replace it with another synonymous adjective in a database file? Now that is both specific enough in human and programming terms. I suppose I should just break down each task in human terms first, then take each task and write it out in programming terms. I need help and input though, thanks a lot!!

      R Offline
      R Offline
      Robert Surtees
      wrote on last edited by
      #2

      So, put another way, you want to make a tool to help someone plagiarize content. :)

      R Z 2 Replies Last reply
      0
      • R Robert Surtees

        So, put another way, you want to make a tool to help someone plagiarize content. :)

        R Offline
        R Offline
        rrrado
        wrote on last edited by
        #3

        You would need it to make it working on higher level for this to rearrange also sentences in paragraphs :) But good to change spam in many ways to fool spam filters :) or cheat google :) good idea ... let me know when you'll got it working ;)

        1 Reply Last reply
        0
        • Z zf222

          I want to create a writing tool, something that could take a sentence and rewrite it into a different sentence that means the same as the first. Think of it as a sentence thesaurus. This program could use the words originally typed in as well as new ones. For example, if one typed in: "Sea Spiders are only found at the ocean floor, where there is little to no sunlight." It could rearrange the sentence into something like this: "Sea Spiders are only located where there is barely sunlight; the ocean floor." I understand it is difficult for computers to understand written language, which is why I'm unsure if this is even possible. I know that the particular bot/program I'm thinking of must do the following: -Identify sentence type -Identify Subject and Verb -Find synonyms for verb, and use them appropriately -rearrange sentence -grammar check sentence -correct grammar -Return finished product. From what I've gathered from various forums and tech whizzes, my idea is certainly plausible, however, it is very difficult. After looking at several bots that can comprehend what you say to it and then return an answer that makes sense, I feel like what I'm talking about should not be that as hard as everyone makes it out to be. As far as program design, I guess I would just work on one small thing at a time. Sentence rewriter? Too vague. Change some words? Still too vague. Change all adjectives with their synonyms? That's a small enough task, but vague in programming terms. Use a function to search the sentence for adjectives against a huge database file of adjectives, then create a loop to take each adjective and replace it with another synonymous adjective in a database file? Now that is both specific enough in human and programming terms. I suppose I should just break down each task in human terms first, then take each task and write it out in programming terms. I need help and input though, thanks a lot!!

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          zf222 wrote:

          I feel like what I'm talking about should not be that as hard as everyone makes it out to be.

          Wanna bet?? Google "Turing Test" and find out just how hard that really is. Just throwing a thesaurus or a synonym dictionary at a sentence doesn't really do the job. There are subtle differences in the meanings of certain words that would just make them sound really funky in the wrong context.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          modified on Friday, November 14, 2008 10:09 AM

          R 1 Reply Last reply
          0
          • R Robert Surtees

            So, put another way, you want to make a tool to help someone plagiarize content. :)

            Z Offline
            Z Offline
            zf222
            wrote on last edited by
            #5

            Robert Surtees wrote:

            So, put another way, you want to make a tool to help someone plagiarize content. Smile

            If that's what you were going to use it for.. then yes, I suppose it would help you get away with a few things.

            R 1 Reply Last reply
            0
            • Z zf222

              Robert Surtees wrote:

              So, put another way, you want to make a tool to help someone plagiarize content. Smile

              If that's what you were going to use it for.. then yes, I suppose it would help you get away with a few things.

              R Offline
              R Offline
              Robert Surtees
              wrote on last edited by
              #6

              It's a huge undertaking. This[^] might be of help. I would think the difficulty would be similar to language translation (which is done very poorly) x1000. Here's the result of your first two sentences put through Babelfish twice. English -> Spanish -> English: I want to create a writing tool, something that could take a sentence and rewrite it into a different sentence that means the same as the first. Think of it as a sentence thesaurus. becomes I want to create a tool of the writing, something that could take an oration and rewrite it in a diverse oration that means just as first. It thinks about her like treasure of the oration.

              modified on Wednesday, November 12, 2008 10:48 PM

              1 Reply Last reply
              0
              • D Dave Kreskowiak

                zf222 wrote:

                I feel like what I'm talking about should not be that as hard as everyone makes it out to be.

                Wanna bet?? Google "Turing Test" and find out just how hard that really is. Just throwing a thesaurus or a synonym dictionary at a sentence doesn't really do the job. There are subtle differences in the meanings of certain words that would just make them sound really funky in the wrong context.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007, 2008

                modified on Friday, November 14, 2008 10:09 AM

                R Offline
                R Offline
                Roger Wright
                wrote on last edited by
                #7

                Dave Kreskowiak wrote:

                There are subtle differences in the meanings of certain words that would just make them sound really funky in the wrong context.

                Most humans aren't capable of understanding that fact. How will we ever teach a computer to do it? I have a ;arge and versatile vocabulary, and I use it freely. It frustrates me immeasurably that 99% of the people I've known are completely incapable of understanding the subtle nuances of what I most precisely say to them. Conversely, I really appreciate the few who do. :-D

                "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                1 Reply Last reply
                0
                • Z zf222

                  I want to create a writing tool, something that could take a sentence and rewrite it into a different sentence that means the same as the first. Think of it as a sentence thesaurus. This program could use the words originally typed in as well as new ones. For example, if one typed in: "Sea Spiders are only found at the ocean floor, where there is little to no sunlight." It could rearrange the sentence into something like this: "Sea Spiders are only located where there is barely sunlight; the ocean floor." I understand it is difficult for computers to understand written language, which is why I'm unsure if this is even possible. I know that the particular bot/program I'm thinking of must do the following: -Identify sentence type -Identify Subject and Verb -Find synonyms for verb, and use them appropriately -rearrange sentence -grammar check sentence -correct grammar -Return finished product. From what I've gathered from various forums and tech whizzes, my idea is certainly plausible, however, it is very difficult. After looking at several bots that can comprehend what you say to it and then return an answer that makes sense, I feel like what I'm talking about should not be that as hard as everyone makes it out to be. As far as program design, I guess I would just work on one small thing at a time. Sentence rewriter? Too vague. Change some words? Still too vague. Change all adjectives with their synonyms? That's a small enough task, but vague in programming terms. Use a function to search the sentence for adjectives against a huge database file of adjectives, then create a loop to take each adjective and replace it with another synonymous adjective in a database file? Now that is both specific enough in human and programming terms. I suppose I should just break down each task in human terms first, then take each task and write it out in programming terms. I need help and input though, thanks a lot!!

                  R Offline
                  R Offline
                  Roger Wright
                  wrote on last edited by
                  #8

                  Have you ever looked into the old language, Prolog? A lot of work was done in that language on Natural Language Processing. I played with it, but never mastered it, because its conceptual base is so totally foreign to my way of approaching problems. But I've always believed that if a child was introduced to it before sequential thinking was canalized in its brain, that language would be far more natural to the way the brain really works than anything else we've developed. It's based on predicate logic, and is ideally suited to parallel processing techniques, which would probably be valuable in a tool such as you describe. The Inference Engine is intended to follow multiple paths through a set of rules, backtracing when a match cannot be found on a given path, until all known rules are exhausted. It can be extended to learn new rules, and to apply fuzzy logic to assign probabilities to certain outcomes. I suspect it would be a perfect match for your application with a lot less work than trying to implement it in conventional languages. Admittedly, I haven't really played with it since Turbo Prolog 2.0 for DOS, but it was far advanced then, and I understand that it has still got a small following trying to develop it further. I encourage you to give it a look. I'm a big fan of what the creators were trying to do with it, but I'm much too stupid to go much beyond that. Better luck to you... :-D

                  "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                  1 Reply Last reply
                  0
                  • Z zf222

                    I want to create a writing tool, something that could take a sentence and rewrite it into a different sentence that means the same as the first. Think of it as a sentence thesaurus. This program could use the words originally typed in as well as new ones. For example, if one typed in: "Sea Spiders are only found at the ocean floor, where there is little to no sunlight." It could rearrange the sentence into something like this: "Sea Spiders are only located where there is barely sunlight; the ocean floor." I understand it is difficult for computers to understand written language, which is why I'm unsure if this is even possible. I know that the particular bot/program I'm thinking of must do the following: -Identify sentence type -Identify Subject and Verb -Find synonyms for verb, and use them appropriately -rearrange sentence -grammar check sentence -correct grammar -Return finished product. From what I've gathered from various forums and tech whizzes, my idea is certainly plausible, however, it is very difficult. After looking at several bots that can comprehend what you say to it and then return an answer that makes sense, I feel like what I'm talking about should not be that as hard as everyone makes it out to be. As far as program design, I guess I would just work on one small thing at a time. Sentence rewriter? Too vague. Change some words? Still too vague. Change all adjectives with their synonyms? That's a small enough task, but vague in programming terms. Use a function to search the sentence for adjectives against a huge database file of adjectives, then create a loop to take each adjective and replace it with another synonymous adjective in a database file? Now that is both specific enough in human and programming terms. I suppose I should just break down each task in human terms first, then take each task and write it out in programming terms. I need help and input though, thanks a lot!!

                    D Offline
                    D Offline
                    duta
                    wrote on last edited by
                    #9

                    I'm working on a word prediction application and we have some common problems. I don't think that looking at you application as one of translation is a good approach. Translation is made with losses. English is a low-inflected language and that is a big advantage for you. I'm thinking at your application as a semantic-syntactic prediction problem. Read Text prediction systems: a survey[^] and see the biography. . You can find the pdf version(16 pages) here[^].

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups