1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unique Ratio: Emergency Php Help!

Discussion in 'General Programming Chat' started by ludovic115, Aug 19, 2009.

  1. ludovic115

    ludovic115 Newbie

    Joined:
    Jun 25, 2008
    Messages:
    33
    Likes Received:
    1
    Can anybody please provide me any ideas on how we can get uniqueness ratio? Please help me - thats the only thing I am stuck with in creating my clients script.

    Thank you
     
  2. ludovic115

    ludovic115 Newbie

    Joined:
    Jun 25, 2008
    Messages:
    33
    Likes Received:
    1
    any helpppp



    ???
     
  3. atlast

    atlast Newbie

    Joined:
    Jul 31, 2009
    Messages:
    8
    Likes Received:
    1
    You need to provide more details. I, for one, don't know what you're talking about. What data do you have? What are you trying to discern from it? Be specific.
     
  4. ludovic115

    ludovic115 Newbie

    Joined:
    Jun 25, 2008
    Messages:
    33
    Likes Received:
    1
    its a content script. When I spin the content, I need to know how to determine the uniqueness of the articles from the original one. This would help to determine which article is good enough to avoid being duplicate content in the search engines.
     
  5. ludovic115

    ludovic115 Newbie

    Joined:
    Jun 25, 2008
    Messages:
    33
    Likes Received:
    1
    Let me re-phrase my question: I am creating an online article script, and would like to add a comparison/unique ration feature onto it. This will save time and money in checking content for customers, as well as myself. I notice on the site dupe cop has an online duplicate content checker. It is probably something they just developed. I just need an idea or reference, or an imitation of a script (allows me to cross-compare versions of an article for uniqueness in percentage terms compared to all the other articles) that can do that. If anyone can help me, I'll provide to you a free lifetime access to my new content script coming soon!
     
  6. heiska

    heiska Junior Member

    Joined:
    Dec 5, 2008
    Messages:
    138
    Likes Received:
    169
    Parse the article and compare the results with the articles already submitted. You probably want to match something like two sentences with any two sentences already in your article database.
     
  7. SupraFast

    SupraFast Junior Member

    Joined:
    Jun 24, 2009
    Messages:
    151
    Likes Received:
    34
    If order does not matter to you, a simple method would be to just count all the words in each article and store how many times each word occurs. Then use that data to make your calculations. It's kind of a really simple checksum.
     
    Last edited: Aug 21, 2009