

class Conllable:
    """
    A Conllable mixin to indicate that the component can be converted into a
    CoNLL representation.
    """

    def conll(self):
        """
        Provides a conll representation of the component.

        Returns:
            A string conll representation of the base component.

        Raises:
            NotImplementedError: If the child class does not implement the
                method.
        """
        raise NotImplementedError("No implementation for conll")


import abc


class Conllable:
    """
    A Conllable mixin to indicate that the component can be converted into a
    CoNLL representation.
    """

    __metaclass__ = abc.ABCMeta

    @abc.abstractmethod
    def conll(self):
        """
        Provides a conll representation of the component.

        Returns:
            A string conll representation of the base component.

        Raises:
            NotImplementedError: If the child class does not implement the
                method.
        """
        raise NotImplementedError("No implementation for conll")

Define Conllable with an abstract method.
Define Conllable with an abstract method.

+ 
+ import abc
  
  
  class Conllable:
      """
      A Conllable mixin to indicate that the component can be converted into a
      CoNLL representation.
      """
  
+     __metaclass__ = abc.ABCMeta
+ 
+     @abc.abstractmethod
      def conll(self):
          """
          Provides a conll representation of the component.
  
          Returns:
              A string conll representation of the base component.
  
          Raises:
              NotImplementedError: If the child class does not implement the
                  method.
          """
          raise NotImplementedError("No implementation for conll")
  
Define Conllable with an abstract method.
## Code Before:


class Conllable:
    """
    A Conllable mixin to indicate that the component can be converted into a
    CoNLL representation.
    """

    def conll(self):
        """
        Provides a conll representation of the component.

        Returns:
            A string conll representation of the base component.

        Raises:
            NotImplementedError: If the child class does not implement the
                method.
        """
        raise NotImplementedError("No implementation for conll")

## Instruction:
Define Conllable with an abstract method.
## Code After:

import abc


class Conllable:
    """
    A Conllable mixin to indicate that the component can be converted into a
    CoNLL representation.
    """

    __metaclass__ = abc.ABCMeta

    @abc.abstractmethod
    def conll(self):
        """
        Provides a conll representation of the component.

        Returns:
            A string conll representation of the base component.

        Raises:
            NotImplementedError: If the child class does not implement the
                method.
        """
        raise NotImplementedError("No implementation for conll")
