public class ArabicHeadFinder extends AbstractCollinsHeadFinder
Implementation notes. TO DO: make sure that -PRD marked elements are always chosen as heads. (Has this now been successfully done or not??)
Mona: I added the 8 new Nonterm for the merged DT with its following category as a rule the DT nonterm is right headed, the 8 new nonterm DTs are: DTCD, DTRB, DTRP, DTJJ, DTNN, DTNNS, DTNNP, DTNNPS. This was added Dec 7th, 2004.
Modifier and Type | Class and Description |
---|---|
static class |
ArabicHeadFinder.TagSet |
Modifier and Type | Field and Description |
---|---|
protected ArabicHeadFinder.TagSet |
tagSet |
defaultLeftRule, defaultRightRule, defaultRule, nonTerminalInfo, tlp
Modifier | Constructor and Description |
---|---|
|
ArabicHeadFinder() |
|
ArabicHeadFinder(ArabicHeadFinder.TagSet tagSet) |
|
ArabicHeadFinder(java.lang.String tagSet)
Construct an ArabicHeadFinder with a String parameter corresponding to the tagset in use.
|
|
ArabicHeadFinder(TreebankLanguagePack tlp) |
protected |
ArabicHeadFinder(TreebankLanguagePack tlp,
ArabicHeadFinder.TagSet tagSet) |
Modifier and Type | Method and Description |
---|---|
protected Tree |
findMarkedHead(Tree t)
Predicatively marked elements in a sentence should be noted as heads
|
determineHead, determineHead, determineNonTrivialHead, makesCopulaHead, postOperationFix, traverseLocate
protected ArabicHeadFinder.TagSet tagSet
public ArabicHeadFinder()
public ArabicHeadFinder(java.lang.String tagSet)
tagSet
- Either "ORIGINAL" or "BIES_COLLAPSED"public ArabicHeadFinder(ArabicHeadFinder.TagSet tagSet)
public ArabicHeadFinder(TreebankLanguagePack tlp)
protected ArabicHeadFinder(TreebankLanguagePack tlp, ArabicHeadFinder.TagSet tagSet)
protected Tree findMarkedHead(Tree t)
findMarkedHead
in class AbstractCollinsHeadFinder
t
- a tree to find the head of