 in computer science, a chart parser is a type of parser suitable for ambiguous grammars (including grammars of natural languages). it uses the dynamic programming approachâpartial hypothesized results are stored in a structure called a chart and can be re-used. this eliminates backtracking and prevents a combinatorial explosion. chart parsing is generally credited to martin kay. ==types of chart parsers== a common approach is to use a variant of the viterbi algorithm. the earley parser is a type of chart parser mainly used for parsing in computational linguistics, named for its inventor. another chart parsing algorithm is the cocke-younger-kasami (cyk) algorithm. chart parsers can also be used for parsing computer languages. earley parsers in particular have been used in compiler compilers 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 in which edges must point in order 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. chart parsers are distinguished between top-down and bottom-up, as well as active and passive. ==see also== * brute force search * dynamic programming == references ==  
Natural_language_parsing Parsing_algorithms