__init__(self,
name,
src,
dst,
features='.*')
(Constructor)
| source code
|
- Parameters:
name - A unique name for this weight group.
src - The set of source tags that should be used for this weight group,
specified as either a list of state names or a regular
expression.
dst - The set of destination tags that should be used for this weight
group, specified as either a list of state names or a regular
expression.
features - The set of input feature that should be used for this weight
group, specified as either a list of feature names or a regular
expression. WARNING: currently, this regexp is passed streight
to java -- i.e., it must be a java-style regexp!
- Overrides:
object.__init__
|