Sunday, January 20, 2008

Natural Language Processing (Part 1)

Natural Language Processing (NLP) can be divided into two categories;

    • processing written text
    • processing spoken language

Steps in NLP

Roughly we can break the process down into the following five components;

  • Morphological Analysis: Individual words are analyzed into their components and non-word tokens, such as punctuations, are separated. Phonetics is considered for spoken language at this phase.
  • Syntactic Analysis: Linear sequences of words are transformed into structures that show how the words relate to each other. Some word sequences may be rejected if they violate the language’s rules for how words may be combined.
  • Semantic Analysis: A mapping is made between the syntactic structures and objects in the task domain. Structures for which no such mapping is possible may be rejected.
  • Discourse Integration: The meaning of an individual sentence may depend on the sentences that precede it. In this phase, the meaning of a sentence is analyzed depending on the information that precede it, e.g, in “John wanted it.”, “it” depends on the prior discourse context. Such as, “He always had.” would require information about previous sentences.
  • Pragmatic Analysis: The structure representing what was said is reinterpreted to determine what was actually meant. For example, the sentence “Do you know the rout?”.

Practical Applications

We are going to look at some practical applications of natural language processing;

    • Machine Translation
    • Voice Interface for Humanoids
    • Database Access
    • Text Interpretation
      • information retrieval
      • text categorization
      • extracting data from text

Machine Translation

        • Correct translation requires an in-depth understanding of both natural languages since structure of expressions varies in every natural language
        • Yehoshua Bar-Hillel declared in 60’s that Machine Translation was impossible (Bar-Hillel Paradox):
        • analysis by humans of messages relies to some extent on the information which is not present in the words that make up the message
        • “The pen is in the box”
        • [i.e. the writing instrument is in the container]
        • “The box is in the pen”
        • [i.e. the container is in the playpen or the pigpen]

        • Examples of poor machine translations would include:
          • "the spirit is strong, but the body is weak" was translated literally as "the vodka is strong but the meat is rotten”
          • "Out of sight, out of mind” was translated as "Invisible, insane”
          • "hydraulic ram” was translated as "male water sheep”
          • These do not imply that machine translation is a waste of time
          • some mistakes are inevitable regardless of the quality and sophistication of the system
          • one has to realize that human translators also make mistakes

There is a substantial start-up cost to any machine translation effort to achieve broad coverage, translation systems should have lexicons of 20,000 to 100,000 words and grammars of 100 to 10,000 rules (depending on the choice of formalism)

Tuesday, December 4, 2007

Privacy Policy

Privacy Policy for www.artificialintelligenceworld.blogspot.com/

If you require any more information or have any questions about our privacy policy, please feel free to contact us by email at careerpakistan@gmail.com.

At www.artificialintelligenceworld.blogspot.com, the privacy of our visitors is of extreme importance to us. This privacy policy document outlines the types of personal information is received and collected by www.artificialintelligenceworld.blogspot.com and how it is used.

Log Files
Like many other Web sites, www.artificialintelligenceworld.blogspot.com makes use of log files. The information inside the log files includes internet protocol ( IP ) addresses, type of browser, Internet Service Provider ( ISP ), date/time stamp, referring/exit pages, and number of clicks to analyze trends, administer the site, track user’s movement around the site, and gather demographic information. IP addresses, and other such information are not linked to any information that is personally identifiable.

Cookies and Web Beacons
www.artificialintelligenceworld.blogspot.com does use cookies to store information about visitors preferences, record user-specific information on which pages the user access or visit, customize Web page content based on visitors’ browser type or other information that the visitor sends.

Some of our advertising partners may use cookies and web beacons on our site. Our advertising partners include Google Adsense,etc.

These third-party ad servers or ad networks use technology to the advertisements and links that appear on www.artificialintelligenceworld.blogspot.com send directly to your browsers. They automatically receive your IP address when this occurs. Other technologies ( such as cookies, JavaScript, or Web Beacons ) may also be used by the third-party ad networks to measure the effectiveness of their advertisements and / or to personalize the advertising content that you see.

www.artificialintelligenceworld.blogspot.com has no access to or control over these cookies that are used by third-party advertisers.

You should consult the respective privacy policies of these third-party ad servers for more detailed information on their practices as well as for instructions about how to opt-out of certain practices. www.artificialintelligenceworld.blogspot.com's privacy policy does not apply to, and we cannot control the activities of, such other advertisers or web sites.

If you wish to disable cookies, you may do so through your individual browser options. More detailed information about cookie management with specific web browsers can be found at the browsers' respective websites.