INNER CODE UNIT · Python

update_token

R1j1t/contextualSpellCheck · contextualSpellCheck/contextualSpellCheck.py:414

                        update_token = response[misspell] + misspell.whitespace_
                        break
                update_query += update_token
            doc._.set("outcome_spellCheck", update_query)
        else:
            doc._.set("performed_spellCheck", False)

        if self.debug:
            print("Final suggestions", doc._.suggestions_spellCheck)

        return response

    @staticmethod
    def time_log(fn_name, relative_time):
        """For time log

        Args:
            fnName {str}: function name to print

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…