Features used in the article error correction system trained discriminatively. wB and wA denote the word immediately before and after the target, respectively; and pB and pA denote the POS tag before and after the target. headW denotes the NP head. NC stands for noun compound and is active if the second to last word in the NP is tagged as a noun. Verb features are active if the NP is the direct object of a verb. Preposition features are active if the NP is immediately preceded by a preposition. Adj feature is active if the first word (or the second word preceded by an adverb) in the NP is an adjective. NpWords and npTags denote all words (POS tags) in the NP. Adapted models also use the author's article as a feature.
Feature type . | Feature group . | Feature list . |
---|---|---|
Word | wB, w2B, w3B, wA, w2A, w3A, wBwA, w2BwB, wAw2A, w3Bw2BwB, w2BwBwA, wBwAw2A, wAw2Aw3A, w4Bw3Bw2BwB, w3Bw2BwBwA, w2BwBwAw2A, wBwAw2Aw3A, wAw2Aw3w4A | |
POS | pB, p2B, p3B, pA, p2A, p3A, pBpA, p2BpB, pAp2A, pBwB, pAwA, p2Bw2B, p2Aw2A, p2BpBpA, pBpAp2A, pAp2Ap3A | |
NP1 | headW, npWords, NC, adj&headW, adjTag&headW, adj&NC, adjTag&NC, npTags&headW, npTags&NC | |
NP2 | headW&headPOS, headNumber | |
Chunk | wordsAfterNP | headW&wordAfterNP,npWords&wordAfterNP,headW&2wordsAfterNP, npWords&2wordsAfterNP,headW&3wordsAfterNP, npWords&3wordsAfterNP |
wordBeforeNP | wB&fi∀i ∈ NP1 | |
Verb | verb, verb&fi∀i ∈ NP1 | |
Preposition | prep&fi∀i ∈ NP1 |
Feature type . | Feature group . | Feature list . |
---|---|---|
Word | wB, w2B, w3B, wA, w2A, w3A, wBwA, w2BwB, wAw2A, w3Bw2BwB, w2BwBwA, wBwAw2A, wAw2Aw3A, w4Bw3Bw2BwB, w3Bw2BwBwA, w2BwBwAw2A, wBwAw2Aw3A, wAw2Aw3w4A | |
POS | pB, p2B, p3B, pA, p2A, p3A, pBpA, p2BpB, pAp2A, pBwB, pAwA, p2Bw2B, p2Aw2A, p2BpBpA, pBpAp2A, pAp2Ap3A | |
NP1 | headW, npWords, NC, adj&headW, adjTag&headW, adj&NC, adjTag&NC, npTags&headW, npTags&NC | |
NP2 | headW&headPOS, headNumber | |
Chunk | wordsAfterNP | headW&wordAfterNP,npWords&wordAfterNP,headW&2wordsAfterNP, npWords&2wordsAfterNP,headW&3wordsAfterNP, npWords&3wordsAfterNP |
wordBeforeNP | wB&fi∀i ∈ NP1 | |
Verb | verb, verb&fi∀i ∈ NP1 | |
Preposition | prep&fi∀i ∈ NP1 |