Jump to content

Archive:Brill tagger: Difference between revisions

From IdeaWazaWiki
wikademia>Blahma
m not every word capitalized in article title
wikademia>CharlesGillingham
Cleaning up "Category:Artificial Intelligence" (this falls under a subcategory)
Line 21: Line 21:
*Contextual rules: ''tag1'' → ''tag2'' IF ''Condition'' (example: "preceding/following tag is ''X''", "preceding/following word is ''w''")
*Contextual rules: ''tag1'' → ''tag2'' IF ''Condition'' (example: "preceding/following tag is ''X''", "preceding/following word is ''w''")


[[Category:Artificial intelligence]]
[[Category:Natural language processing]]




{{compu-AI-stub}}
{{compu-AI-stub}}

Revision as of 18:43, 24 August 2007

The Brill tagger is a method for doing part-of-speech tagging. It was described by Eric Brill in his 1993 PhD thesis [1]. It can be summarized as an "error-driven transformation-based tagger". It is

  • error-driven in the sense that it recourses to supervised learning
  • transformation-based in the sense that a tag is assigned to each word and changed using a set of predefined rules. Note: If the word is known, it first assigns the most frequent tag, or if the word is unknown, it naively assigns the tag "noun" to it. Applying over and over these rules, changing the incorrect tags, a quite high accuracy is achieved.

Algorithm

The algorithm goes as follows:

  • Initialisation:
    • Known words (in vocabulary): assigning the most frequent tag associated to a form of the word
    • Unknown words (out of vocabulary) :
  • Learning Phase
    • Iteratively compute the error score of each candidate rule (difference between the number of errors before and after applying the rule)
    • Select the best (higher score) rule.
    • Add it to the rule set and apply it to the text.
    • Repeat until no rule has a score above a given threshold (that is, until applying new rules leaves the text in the same state, which is then supposed to be the final state of the tagging).

Rules

Lexical rules are used for the initialisation, and contextual rules are used to correct the tags.

  • Lexical rules: word → tag IF Condition (example: identification of suffixes like "-tion")
  • Contextual rules: tag1 → tag2 IF Condition (example: "preceding/following tag is X", "preceding/following word is w")