src/python/txtai/scoring.py
def load(self, path):
        """
        Loads a saved Scoring object from path.

        Args:
            path: directory path to load model
        """

        with open("%s/scoring" % path, "rb") as handle:
            self.__dict__.update(pickle.load(handle))

        Loads a saved Scoring object from path.

        Args:
            path: directory path to load model
        
Loads a saved Scoring object from path.
Loads a saved Scoring object from path .
def load(self, path):
        with open("%s/scoring" % path, "rb") as handle:
            self.__dict__.update(pickle.load(handle))
def load ( self , path ) : with open ( "%s/scoring" % path , "rb" ) as handle : self . __dict__ . update ( pickle . load ( handle ) )
Loads a saved Scoring object from path.
Loads a saved Scoring object from path .
"""
        Loads a saved Scoring object from path.

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