tokenizer.py
def cost_function(self,pair):
        """Get the cost function of the given pair. Needs to be implemented by the child class
        Args:
            pair (tuple): pair for which we want the function
        Returns:
            float: Cost function of the pair
        """
        raise NotImplementedError
Get the cost function of the given pair. Needs to be implemented by the child class
        Args:
            pair (tuple): pair for which we want the function
        Returns:
            float: Cost function of the pair
        
Get the cost function of the given pair. Needs to be implemented by the child class
Get the cost function of the given pair . Needs to be implemented by the child class
def cost_function(self,pair):
        raise NotImplementedError
def cost_function ( self , pair ) : raise NotImplementedError
Get the cost function of the given pair.
Get the cost function of the given pair .
"""Get the cost function of the given pair. Needs to be implemented by the child class
        Args:
            pair (tuple): pair for which we want the function
        Returns:
            float: Cost function of the pair
        """
Cost function of the pair
Cost function of the pair
float
self
pair
pair for which we want the function
pair for which we want the function