public class PennTreebankConverter extends Object
The conversion uses an implicit IRTG with an interpretation "string" (using a
StringAlgebra
) and an interpretation "tree" representing the
phrase-structure trees (using a TreeWithAritiesAlgebra
)
.
Modifier and Type | Class and Description |
---|---|
static class |
PennTreebankConverter.BinarizationStyleValidator |
Constructor and Description |
---|
PennTreebankConverter() |
Modifier and Type | Method and Description |
---|---|
static void |
convert(AbstractCorpusWriter cw,
de.up.ling.irtg.script.PennTreebankConverter.CmdLineParameters param) |
static InterpretedTreeAutomaton |
getIrtg() |
static void |
main(String[] args) |
static Function<InterpretedTreeAutomaton,BinaryRuleFactory> |
makeRuleFactoryFactory(String binarizationMode) |
public static void convert(AbstractCorpusWriter cw, de.up.ling.irtg.script.PennTreebankConverter.CmdLineParameters param) throws Exception
Exception
public static Function<InterpretedTreeAutomaton,BinaryRuleFactory> makeRuleFactoryFactory(String binarizationMode)
public static InterpretedTreeAutomaton getIrtg()
Copyright © 2017. All rights reserved.