some fine points of hybrid natural language processing
play

Some Fine Points of Hybrid Natural Language Processing Peter - PowerPoint PPT Presentation

LREC 2008 Marrakech, Morocco 28 th May 2008 Some Fine Points of Hybrid Natural Language Processing Peter Adolphs, DFKI GmbH, Language Technology Lab, Berlin Stephan Oepen, Universitetet i Oslo, Department of Informatics Ulrich Callmeier,


  1. LREC 2008 Marrakech, Morocco 28 th May 2008 Some Fine Points of Hybrid Natural Language Processing Peter Adolphs, DFKI GmbH, Language Technology Lab, Berlin Stephan Oepen, Universitetet i Oslo, Department of Informatics Ulrich Callmeier, acrolinx GmbH, Berlin Berthold Crysmann, Universität Bonn Dan Flickinger, Stanford University, CSLI Bernd Kiefer, DFKI GmbH, Language Technology Lab, Saarbrücken

  2. Motivation ● hybrid processing, integrating annotations of ‘shallow’ tools into HPSG parsing ● different tools make different assumptions ● example: PTB-style tokenizers for English – e.g.: Don't you! → <do, n't, you, !> – contracted verb forms are split – punctuation is split off the preceding word form ● we need to adapt annotations of different tools to the requirements of our grammar ● goal: a declarative, expressive, scalable device

  3. Token Feature Structures ● feature structures for describing tokens ● different annotations provided as feature structures ● lattice of structured categories (token feature structures) as input to the parser

  4. Generalized Chart ● tools may assume different tokenization (paradigm case: input from speech recognizers) ● chart: dag whose vertices are abstract objects rather than indexed token boundary positions

  5. Chart Mapping ● chart mapping: non-monotonic rewrite mechanism on feature structure chart edges ● general format: [ CONTEXT : ] INPUT → OUTPUT ● CONTEXT, INPUT, OUTPUT are sequences of feature structures (each possibly empty) ● resource-sensitive: chart edges that let a rule fire may be removed (namely, all INPUT edges)

  6. Chart Mapping – Example ● example: recombining split contracted forms ● rules extended with regular expression matches ● regex capture groups can be referred to in the output ● rules themselves described as feature structures, thus we can use re-entrancies

  7. Chart Mapping – Examples ● light-weight named entity recognition ● fixing broken tokenization

  8. Previous Architecture (Simplified) ● preprocessing has to provide natural language input the input chart as expected by the grammar Preprocessing ● this has to be ensured by specialized conversion routines without recourse to the grammar Lexical Instantiation ● changes to the grammar have to be reflected in these Syntactic Parsing data adaptation routines SYN ... SEM ...

  9. Proposed Architecture (Simplified) ● proposal: token mapping per- natural language input forms certain preprocessing Preprocessing steps within the grammar ● advantages: – full control for the grammar Token Mapping writer, using the same formalism as for the grammar Lexical Instantiation – makes assumptions by the grammar explicit Syntactic Parsing – removes complexity from preprocessing SYN ... SEM ...

  10. Hybrid Processing ● shaping the search ● constraints on the space of the parser: search space – widening search – hard: categorial space (e.g. unknown conditions for word handling) introduction / removal of chart edges – narrowing search – soft: probabilistic space (e.g. removing / postponing the disambiguation, processing of edges) prioritize parser's tasks on the agenda

  11. Lexical Instantiation ● native and generic lexical entries (les) ● selection of appropriate generic lexical entries originally controlled by the parser (hard-coded) ● strategy: – map from part-of-speech tags to generic les – instantiate generic le for highest ranked pos tag where no native le is available ● disadvantage: – not flexible enough (e.g. no chain of responsibility) – partial lexical coverage: We’ll bus to Paris.

  12. Lexical Instantiation ● proposal: try to instantiate all generic les for all tokens ● token feature structure is unified into a predefined path in the lexical entry ● selection of compatible tokens by constraints on the token feature structure ● example:

  13. Lexical Filtering ● after lexical instantiation, native and generic les may be available in the same chart cell ● we can restrict lexical instantiation by positing constraints on the token feature structures ● but we might also want to prevent some lexical chart edges in certain contexts (set operations) ● proposal: lexical filtering phase ● same formalism as for token mapping: chart mapping rules with empty OUTPUT list

  14. Proposed Architecture ● use feature structures to natural language input describe tokens Preprocessing ● chart mapping: resource- Token Mapping sensitive rewriting of feature structure items Lexical Instantiation ● chart mapping on token fs Lexical Parsing ● generic instantiation driven by Lexical Filtering compatibility with token fs Syntactic Parsing ● lexical filtering with chart mapping SYN ... SEM ...

  15. Applications ● fine grained control over instantiation of generic lexical entries ● mapping external morphological information into the grammar's universe ● chart dependency filter (optimizing parsing performance) ● activate syntactic rules only for certain spans of the input (e.g., in hybrid grammar checking)

  16. Conclusions ● versatile device for many applications ● external information is made accessible to the grammar ● pre-processing can be better controlled with grammar-specific means ● reduces the need for special code inside and outside the parser ● outlook: consilidation of our current parsers and grammars

  17. Thank you!

  18. Acknowledgements ● DELPH-IN community and beyond, especially Nuria Bertomeu, Ann Copestake, Remy Sanouillet, Ulrich Schäfer and Benjamin Waldron for numerous in-depth discussions ● funding: – ProFIT program of the German federal state of Berlin and the EFRE program of the EU (to the DFKI project Checkpoint) – the University of Oslo (through its scientific partnership with CSLI)

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend