Navigation
  • Home
  • Recent
  • Most Active
  • Popular
  • Blog
  • Credits
  • RSS
  •   Interaction
  • Register
  • Statistics
  •   Help
  • Suggestions
  • Contact Us
  • How to Edit
  • Help



  • [Edit]


    A chart parser is a type of parser commonly used for natural languages that uses a data-driven approach based on a set of grammatical rules and a dictionary with each of the possible grammatical senses of each word indicated. There may also be a set of probabilities obtained from analysis of a text corpus.
    A systematic search is used to explore the space of possible parses of the input string, and a data structure called a "chart" is used to eliminate backtracking and prevent a combinatorial explosion.


        Chart parser
            Types of Chart Parsers
            See also

    top

    Types of Chart Parsers

    Chart parsers can also be used for parsing computer languages. Earley parsers in particular have been used in compiler compilers such as the Accent programming language where their ability to parse using arbitrary Context-free grammars eases the task of writing the grammar for a particular language. However their lower efficiency has led to people avoiding them for most compiler work.

    In bidirectional chart parsing, edges of the chart are marked with a direction, either forwards or backwards, and rules are enforced on the direction edges must point in to be combined into further edges.

    In incremental chart parsing, the chart is constructed incrementally as the text is edited by the user, with each change to the text resulting in the minimal possible corresponding change to the chart.

    We can distinguish top-down and bottom-up chart parsers, and active and passive chart parsers.

    top

    See also

     
    Search more:
     

       
    Source Privacy License Download Contact Us Atlas
    Scientus.org Dictionary (Yet Another Wiki) RC : 1.39
    MIT OpenCourseWare
    This article is licensed under the GNU Free Documentation License [copyleft]. It uses material from the Wikipedia article "Chart parser". link