Documentation ¶
Index ¶
- Variables
- type JointConfig
- func (c *JointConfig) Address(location []byte, offset int) (nodeID int, exists bool, isGenerator bool)
- func (c *JointConfig) Alignment() int
- func (c *JointConfig) Assign(to uint16)
- func (c *JointConfig) Assignment() uint16
- func (c *JointConfig) Attribute(source byte, nodeID int, attribute []byte, transitions []int) (interface{}, bool, bool)
- func (c *JointConfig) Clear()
- func (c *JointConfig) Copy() transition.Configuration
- func (c *JointConfig) CopyTo(target transition.Configuration)
- func (c *JointConfig) Equal(otherEq util.Equaler) bool
- func (c *JointConfig) GenerateAddresses(nodeID int, location []byte) (nodeIDs []int)
- func (c *JointConfig) GetLastTransition() transition.Transition
- func (c *JointConfig) GetMappings() nlp.Mappings
- func (c *JointConfig) GetMorpheme(i int) *nlp.EMorpheme
- func (c *JointConfig) GetSequence() transition.ConfigurationSequence
- func (c *JointConfig) Init(abstractLattice interface{})
- func (c *JointConfig) Len() int
- func (c *JointConfig) Previous() transition.Configuration
- func (c *JointConfig) SetLastTransition(t transition.Transition)
- func (c *JointConfig) SetPrevious(prev transition.Configuration)
- func (c *JointConfig) State() byte
- func (c *JointConfig) String() string
- func (c *JointConfig) Terminal() bool
- type JointOracle
- type JointTrans
- func (t *JointTrans) AddDefaultOracle()
- func (t *JointTrans) GetTransitions(from Configuration) (byte, []int)
- func (t *JointTrans) Name() string
- func (t *JointTrans) Oracle() Oracle
- func (t *JointTrans) Transition(from Configuration, transition Transition) Configuration
- func (t *JointTrans) TransitionStrategy(c *JointConfig) (shouldMD bool, shouldDep bool)
- func (t *JointTrans) TransitionTypes() []string
- func (t *JointTrans) YieldTransitions(conf Configuration) (byte, chan int)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TSAllOut bool JointStrategies string OracleStrategies string )
Functions ¶
This section is empty.
Types ¶
type JointConfig ¶
type JointConfig struct { dep.SimpleConfiguration disambig.MDConfig InternalPrevious *JointConfig Last transition.Transition ETrans *util.EnumSet MDTrans transition.Transition // contains filtered or unexported fields }
func (*JointConfig) Alignment ¶
func (c *JointConfig) Alignment() int
func (*JointConfig) Assign ¶
func (c *JointConfig) Assign(to uint16)
func (*JointConfig) Assignment ¶
func (c *JointConfig) Assignment() uint16
func (*JointConfig) Clear ¶
func (c *JointConfig) Clear()
func (*JointConfig) Copy ¶
func (c *JointConfig) Copy() transition.Configuration
func (*JointConfig) CopyTo ¶
func (c *JointConfig) CopyTo(target transition.Configuration)
func (*JointConfig) GenerateAddresses ¶
func (c *JointConfig) GenerateAddresses(nodeID int, location []byte) (nodeIDs []int)
func (*JointConfig) GetLastTransition ¶
func (c *JointConfig) GetLastTransition() transition.Transition
func (*JointConfig) GetMappings ¶
func (c *JointConfig) GetMappings() nlp.Mappings
func (*JointConfig) GetMorpheme ¶
func (c *JointConfig) GetMorpheme(i int) *nlp.EMorpheme
func (*JointConfig) GetSequence ¶
func (c *JointConfig) GetSequence() transition.ConfigurationSequence
func (*JointConfig) Init ¶
func (c *JointConfig) Init(abstractLattice interface{})
func (*JointConfig) Len ¶
func (c *JointConfig) Len() int
func (*JointConfig) Previous ¶
func (c *JointConfig) Previous() transition.Configuration
func (*JointConfig) SetLastTransition ¶
func (c *JointConfig) SetLastTransition(t transition.Transition)
func (*JointConfig) SetPrevious ¶
func (c *JointConfig) SetPrevious(prev transition.Configuration)
func (*JointConfig) State ¶
func (c *JointConfig) State() byte
func (*JointConfig) String ¶
func (c *JointConfig) String() string
func (*JointConfig) Terminal ¶
func (c *JointConfig) Terminal() bool
type JointOracle ¶
type JointOracle struct { MDOracle Oracle ArcSysOracle Oracle JointStrategy string OracleStrategy string // contains filtered or unexported fields }
func (*JointOracle) ArcGreedy ¶
func (o *JointOracle) ArcGreedy(conf Configuration) Transition
func (*JointOracle) MDFirst ¶
func (o *JointOracle) MDFirst(conf Configuration) Transition
func (*JointOracle) Name ¶
func (o *JointOracle) Name() string
func (*JointOracle) SetGold ¶
func (o *JointOracle) SetGold(g interface{})
func (*JointOracle) Transition ¶
func (o *JointOracle) Transition(conf Configuration) Transition
type JointTrans ¶
type JointTrans struct { MDTrans TransitionSystem ArcSys TransitionSystem Transitions *util.EnumSet JointStrategy string MDTransition Transition Log bool // contains filtered or unexported fields }
func (*JointTrans) AddDefaultOracle ¶
func (t *JointTrans) AddDefaultOracle()
func (*JointTrans) GetTransitions ¶
func (t *JointTrans) GetTransitions(from Configuration) (byte, []int)
func (*JointTrans) Name ¶
func (t *JointTrans) Name() string
func (*JointTrans) Oracle ¶
func (t *JointTrans) Oracle() Oracle
func (*JointTrans) Transition ¶
func (t *JointTrans) Transition(from Configuration, transition Transition) Configuration
func (*JointTrans) TransitionStrategy ¶
func (t *JointTrans) TransitionStrategy(c *JointConfig) (shouldMD bool, shouldDep bool)
func (*JointTrans) TransitionTypes ¶
func (t *JointTrans) TransitionTypes() []string
func (*JointTrans) YieldTransitions ¶
func (t *JointTrans) YieldTransitions(conf Configuration) (byte, chan int)
Click to show internal directories.
Click to hide internal directories.