Starts WithΒΆ

Example

>>> # Creates, configures, and runs the extractor
>>> from techminer2.database.extractors import StartsWithExtractor
>>> terms = (
...     StartsWithExtractor()
...     #
...     # FIELD:
...     .with_field("raw_author_keywords")
...     #
...     # SEARCH:
...     .having_pattern("FINAN")
...     #
...     # DATABASE:
...     .where_root_directory_is("examples/fintech/")
...     .where_database_is("main")
...     .where_record_years_range_is(None, None)
...     .where_record_citations_range_is(None, None)
...     #
...     .run()
... )
>>> # Print the first 10 extracted terms
>>> from pprint import pprint
>>> pprint(terms[:10])
['FINANCE',
 'FINANCE_TECHNOLOGY',
 'FINANCIALISATION',
 'FINANCIAL_COMPUTING',
 'FINANCIAL_INCLUSION',
 'FINANCIAL_INSTITUTION',
 'FINANCIAL_INSTITUTIONS',
 'FINANCIAL_INTERMEDIATION',
 'FINANCIAL_MANAGEMENT',
 'FINANCIAL_SCENARIZATION']