nlpmodels/utils/vocabulary.py
def idx_to_token(self, value: Dict):
        """
        sets the value of our dictionary
        Args:
            value (Dict): new dict to set our map.
        """
        self._idx_to_token = value

        sets the value of our dictionary
        Args:
            value (Dict): new dict to set our map.
        
sets the value of our dictionary
sets the value of our dictionary
def idx_to_token(self, value: Dict):
        self._idx_to_token = value
def idx_to_token ( self , value : Dict ) : self . _idx_to_token = value
sets the value of our dictionary
sets the value of our dictionary
"""
        sets the value of our dictionary
        Args:
            value (Dict): new dict to set our map.
        """
self
value
Dict
new dict to set our map.
new dict to set our map .