Reset ThesaurusΒΆ
>>> from techminer2.thesaurus.descriptors import reset_thesaurus
>>> reset_thesaurus(
... #
... # DATABASE PARAMS:
... root_dir="example/",
... )
. 1/10 . Reemplacing abbreviations.
. 2/10 . Inverting terms in parenthesis.
. 3/10 . Removing text in brackets.
. 4/10 . Removing text in parenthesis.
. 5/10 . Transforming hypened words.
. 6/10 . Removing common starting words.
. 7/10 . Removing common ending words.
. 8/10 . Applying the default.the.txt thesaurus.
. 9/10 . Transforming british to american spelling.
. 10/10 . Applying Porter stemmer.
--INFO-- The thesaurus example/thesauri/descriptors.the.txt has been reseted.
--INFO-- Total time consumed by the execution: 00:00:33.2