CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Deploying Windows Server 2008 with System Center
  • Remote Desktop Protocol Performance Improvements in Windows Server 2008 R2 and Windows 7
  • The Microsoft Dynamics CRM Security Model
  • SQL Server Modeling Services with Microsoft Visual Studio 2010 Beta 2

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > General Discussion > Algorithms & Data Structures
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Algorithms & Data Structures Discuss algorithms & data structures. Topics are not specific to any programming language.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old November 24th, 2009, 04:06 AM
    azpublic azpublic is offline
    Junior Member
     
    Join Date: Nov 2009
    Posts: 1
    azpublic is an unknown quantity at this point (<10)
    Parsing out geographic names

    Hi,
    I need help on figuring out the correct approach to parse out the names of geographic entities from a web search query.

    I've been reading various papers on the subject and it seems that the approach I need to take is a dictionary/gazeteer approach.

    Basically what researchers on the subject do is that they take the query and look for candidate entries in the dictionary that match any substring of one or more words included in the query.
    Then they select the dictionary entry that has the longest number of words.

    So my question is basically: How do I implement the above parsing algorithm in an efficient manner?

    How do I find the dictionary entry that best matches any words sub-sequence of my original string?


    Many thanks in advance for any suggestion or help.

    Cheers,

    Alex.
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > General Discussion > Algorithms & Data Structures


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 02:42 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.