mapping problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mr Shore

    mapping problem

    I've now crawled the meta infor,but with multi name all means the same
    thing,
    such as MS,microsoft,mi crosoft corporation all means the same thing,
    how can I mapping words like this to the same thing?
  • Steve Holden

    #2
    Re: mapping problem

    Mr Shore wrote:
    I've now crawled the meta infor,but with multi name all means the same
    thing,
    such as MS,microsoft,mi crosoft corporation all means the same thing,
    how can I mapping words like this to the same thing?


    regards
    Steve
    --
    Steve Holden +1 571 484 6266 +1 800 494 3119
    Holden Web LLC http://www.holdenweb.com/

    Comment

    • Steven D'Aprano

      #3
      Re: mapping problem

      On Sat, 16 Feb 2008 01:35:32 -0800, Mr Shore wrote:
      I've now crawled the meta infor,but with multi name all means the same
      thing,
      such as MS,microsoft,mi crosoft corporation all means the same thing, how
      can I mapping words like this to the same thing?
      The same way you would map anything: use a dict.

      You know, sometimes I'm astounded by the ability of the human brain to
      find semantic meaning in what is grammatically and syntactically
      gibberish. Most of the words are English, but putting them all together
      makes no sense. And yet, by interpolating between key words, I can guess
      that the poster wants something like this:

      mapping = {"MS": "Microsoft" , "Microsoft" : "Microsoft" ,
      "Microsoft Corporation": "Microsoft" }

      If I have guessed poorly, could you please try again, more carefully? If
      you're not a native English speaker, please say so and we'll make
      allowances, and if you are a native English speaker with no cognitive
      disabilities, you should be ashamed of wasting our time with such poor
      communication.



      --
      Steven
      who is unapologetic for being grumpy about the oxygen-thieves using the
      Internet these days, and if that makes me a curmudgeon, so be it.

      Comment

      • Mr Shore

        #4
        Re: mapping problem

        yes
        you guessed perfectly
        I'm not a native English speaker
        sorry for my poor english..
        On Feb 16, 6:35 pm, Steven D'Aprano <st...@REMOVE-THIS-
        cybersource.com .auwrote:
        On Sat, 16 Feb 2008 01:35:32 -0800,MrShorewro te:
        I've now crawled the meta infor,but with multi name all means the same
        thing,
        such as MS,microsoft,mi crosoft corporation all means the same thing, how
        can I mapping words like this to the same thing?
        >
        The same way you would map anything: use a dict.
        >
        You know, sometimes I'm astounded by the ability of the human brain to
        find semantic meaning in what is grammatically and syntactically
        gibberish. Most of the words are English, but putting them all together
        makes no sense. And yet, by interpolating between key words, I can guess
        that the poster wants something like this:
        >
        mapping = {"MS": "Microsoft" , "Microsoft" : "Microsoft" ,
        "Microsoft Corporation": "Microsoft" }
        >
        If I have guessed poorly, could you please try again, more carefully? If
        you're not a native English speaker, please say so and we'll make
        allowances, and if you are a native English speaker with no cognitive
        disabilities, you should be ashamed of wasting our time with such poor
        communication.
        >
        --
        Steven
        who is unapologetic for being grumpy about the oxygen-thieves using the
        Internet these days, and if that makes me a curmudgeon, so be it.

        Comment

        • Mr Shore

          #5
          Re: mapping problem

          On Feb 16, 6:35 pm, Steven D'Aprano <st...@REMOVE-THIS-
          cybersource.com .auwrote:
          On Sat, 16 Feb 2008 01:35:32 -0800,MrShorewro te:
          I've now crawled the meta infor,but with multi name all means the same
          thing,
          such as MS,microsoft,mi crosoft corporation all means the same thing, how
          can I mapping words like this to the same thing?
          >
          The same way you would map anything: use a dict.
          >
          You know, sometimes I'm astounded by the ability of the human brain to
          find semantic meaning in what is grammatically and syntactically
          gibberish. Most of the words are English, but putting them all together
          makes no sense. And yet, by interpolating between key words, I can guess
          that the poster wants something like this:
          >
          mapping = {"MS": "Microsoft" , "Microsoft" : "Microsoft" ,
          "Microsoft Corporation": "Microsoft" }
          >
          If I have guessed poorly, could you please try again, more carefully? If
          you're not a native English speaker, please say so and we'll make
          allowances, and if you are a native English speaker with no cognitive
          disabilities, you should be ashamed of wasting our time with such poor
          communication.
          >
          --
          Steven
          who is unapologetic for being grumpy about the oxygen-thieves using the
          Internet these days, and if that makes me a curmudgeon, so be it.

          in fact what I expected is a solution which can automatically do the
          job
          maybe something related with artificial intelligence
          but seems feasible to do it manually
          thx for all
          and pre say sorry if my english once again caused your uncomfortable
          in understanding.

          Comment

          Working...