src/python/txtai/scoring.py
def save(self, path):
        """
        Saves a Scoring object to path.

        Args:
            path: directory path to save model
        """

        with open("%s/scoring" % path, "wb") as handle:
            pickle.dump(self.__dict__, handle, protocol=pickle.HIGHEST_PROTOCOL)

        Saves a Scoring object to path.

        Args:
            path: directory path to save model
        
Saves a Scoring object to path.
Saves a Scoring object to path .
def save(self, path):
        with open("%s/scoring" % path, "wb") as handle:
            pickle.dump(self.__dict__, handle, protocol=pickle.HIGHEST_PROTOCOL)
def save ( self , path ) : with open ( "%s/scoring" % path , "wb" ) as handle : pickle . dump ( self . __dict__ , handle , protocol = pickle . HIGHEST_PROTOCOL )
Saves a Scoring object to path.
Saves a Scoring object to path .
"""
        Saves a Scoring object to path.

        Args:
            path: directory path to save model
        """
self
path
directory path to save model
directory path to save model