<filename>leggs/inflection/inflection_rule.py

class InflectionRule:
    """ Represents a rule for linguistic inflection in a language """

    def __init__(self, name, dimensions):
        """ Initialize the Inflection Rule with a name for the rule """
        self.name = name
        self.dimensions = dimensions
        
    def __unicode__(self):
        """ Return the string representation of the Rule """
        return unicode(self.name)
<filename>leggs/inflection/inflection_rule.py

class InflectionRule:
    """ Represents a rule for linguistic inflection in a language """

    def __init__(self, name, dimensions):
        """ Initialize the Inflection Rule with a name for the rule """
        self.name = name
        self.dimensions = dimensions
        
    def __unicode__(self):
        """ Return the string representation of the Rule """
        return unicode(self.name)
Represents a rule for linguistic inflection in a language Initialize the Inflection Rule with a name for the rule Return the string representation of the Rule