Natural language processing
From Wikipedia, the free encyclopedia
Natural language processing (NLP) is a subfield of artificial intelligence and linguistics. It studies the problems of automated generation and understanding of natural human languages. Natural language generation systems convert information from computer databases into normal-sounding human language, and natural language understanding systems convert samples of human language into more formal representations that are easier for computer programs to manipulate.
Contents |
[edit] Tasks and limitations
In theory natural language processing is a very attractive method of human-computer interaction. Early systems such as SHRDLU, working in restricted "blocks worlds" with restricted vocabularies, worked extremely well, leading researchers to excessive optimism which was soon lost when the systems were extended to more realistic situations with real-world ambiguity and complexity.
Natural language understanding is sometimes referred to as an AI-complete problem, because natural language recognition seems to require extensive knowledge about the outside world and the ability to manipulate it. The definition of "understanding" is one of the major problems in natural language processing.
[edit] Concrete problems
Some examples of the problems faced by natural language understanding systems:
- The sentences We gave the monkeys the bananas because they were hungry and We gave the monkeys the bananas because they were over-ripe have the same surface grammatical structure. However, in one of them the word they refers to the monkeys, in the other it refers to the bananas: the sentence cannot be understood properly without knowledge of the properties and behaviour of monkeys and bananas.
- A string of words may be interpreted in myriad ways. For example, the string Time flies like an arrow may be interpreted in a variety of ways:
- time moves quickly just like an arrow does;
- measure the speed of flying insects like you would measure that of an arrow - i.e. (You should) time flies like you would an arrow.;
- measure the speed of flying insects like an arrow would - i.e. Time flies in the same way that an arrow would (time them).;
- measure the speed of flying insects that are like arrows - i.e. Time those flies that are like arrows;
- a type of flying insect, "time-flies," enjoy arrows (compare Fruit flies like a banana.)
English is particularly challenging in this regard because it has little inflectional morphology to distinguish between parts of speech.
- English and several other languages don't specify which word an adjective applies to. For example, in the string "pretty little girls' school".
- Does the school look little?
- Do the girls look little?
- Do the girls look pretty?
- Does the school look pretty?
[edit] Subproblems
- Speech segmentation
- In most spoken languages, the sounds representing successive letters blend into each other, so the conversion of the analog signal to discrete characters can be a very difficult process. Also, in natural speech there are hardly any pauses between successive words; the location of those boundaries usually must take into account grammatical and semantical constraints, as well as the context.
- Text segmentation
- Some written languages like Chinese, Japanese and Thai do not have signal word boundaries either, so any significant text parsing usually requires the identification of word boundaries, which is often a non-trivial task.
- Word sense disambiguation
- Many words have more than one meaning; we have to select the meaning which makes the most sense in context.
- Syntactic ambiguity
- The grammar for natural languages is ambiguous, i.e. there are often multiple possible parse trees for a given sentence. Choosing the most appropriate one usually requires semantic and contextual information. Specific problem components of syntactic ambiguity include sentence boundary disambiguation.
- Imperfect or irregular input
- Foreign or regional accents and vocal impediments in speech; typing or grammatical errors, OCR errors in texts.
- Speech acts and plans
- Sentences often don't mean what they literally say; for instance a good answer to "Can you pass the salt" is to pass the salt; in most contexts "Yes" is not a good answer, although "No" is better and "I'm afraid that I can't see it" is better yet. Or again, if a class was not offered last year, "The class was not offered last year" is a better answer to the question "How many students failed the class last year?" than "None" is.
[edit] Statistical NLP
Statistical natural language processing uses stochastic, probabilistic and statistical methods to resolve some of the difficulties discussed above, especially those which arise because longer sentences are highly ambiguous when processed with realistic grammars, yielding thousands or millions of possible analyses. Methods for disambiguation often involve the use of corpora and Markov models. The technology for statistical NLP comes mainly from machine learning and data mining, both of which are fields of artificial intelligence that involve learning from data.
[edit] The major tasks in NLP
- Text to speech
- Speech recognition
- Natural language generation
- Machine translation
- Question answering
- Information retrieval
- Information extraction
- Text Simplification
- Text-proofing
- Translation technology
- Automatic summarization
- Foreign Language Reading Aid
- Foreign Language Writing Aid
[edit] Evaluation of natural language processing
This section is a stub and needs to be expanded
- History of evaluation in NLP
- Intrinsic evaluation
- Extrinsic evaluation
- Automatic evaluation
- Manual evaluation
- Shared tasks
[edit] Organizations and Conferences
- Association for Computational Linguistics
- Association for Machine Translation in the Americas
- AFNLP - Asian Federation of Natural Language Processing Associations
[edit] See also
- computational linguistics
- controlled natural language
- information retrieval
- latent semantic indexing
- lojban / loglan
- Transderivational search
- Biomedical text mining
- Computer-assisted reviewing
- Chatterbot
- the Inform 7 programming language
- The fictional universal translator
[edit] External links
[edit] Resources
- Natural Language Processing In Spanish.
- Introductory book.
- Resources for Text, Speech and Language Processing
- Natural Language Processing Blog
- About Opinion, Language, and Blogs
- A comprehensive list of resources, classified by category
- ACL Wiki for natural language processing and computational linguistics
[edit] Research and development groups
- IBM NLP Research Area
- Microsoft Research: NLP
- Language Technologies Institute at Carnegie Mellon University
- Natural Language Group at the Information Sciences Institute
- Natural Language Generation Group at the Open University
- Survey of the State of the Art in Human Language Technology
- University of Edinburgh Natural Language Processing Group
- Natural Language and Information Processing Group at the University of Cambridge
- Center for Language and Speech Processing at The Johns Hopkins University
- Stanford Natural Language Processing Group
- DNLP - Dalhousie Natural Language Processing Group
- NLP Laboratory at Center for Computing Research - IPN
- CLAC: Computational Linguistics At Concordia
- TCC: Cognitive and Communication Technologies (TCC) at ITC-Irst
- Center for Natural Language Processing at Syracuse University
- Center for Spoken Language Understanding at Oregon Graduate Institute, OHSU
- Cornell Natural Language Processing Group
- 2004 International Workshop on Natural Language Understanding and Cognitive Science
- CICLing annual conferences on Natural Language Processing
- SINAI - Intelligent Information Access Systems group at the University of Jaén (Spain)
- Natural Language Lab at Simon Fraser University
- Information Retrieval Laboratory, Harbin Institute of Technology, China (Chinese NLP)
- Applied Linguistics Group
- International Cognitive Computing CAMBO knowledge normalization paradigm
- Language Technologies Research Centre at IIIT, Hyderabad
- Institute of Formal and Applied Linguistics at Charles University, Prague, Czech Republic
[edit] Implementations
- Cypher - Generates RDF and SeRQL representation of natural language statements and phrases
- OpenNLP
- DELPH-IN: integrated technology for deep language processing
- LinguaStream: a generic platform for Natural Language Processing experimentation
- GATE - a Java Library for Text Engineering
- Mind.html
- Natural Language Toolkit
- MARF: Modular Audio Recognition Framework for voice and statistical NLP processing
- FreeLing: an open source suite of language analyzers
- LingPipe: Java Natural Language Processing Toolkit
- The wraetlic toolkit
- Antelope framework for Microsoft .NET 2.0