lexnlp.extract.en.tests package

Submodules

lexnlp.extract.en.tests.test_acts module

class lexnlp.extract.en.tests.test_acts.TestGetActs(methodName='runTest')

Bases: lexnlp.extract.de.tests.test_amounts.AssertionMixin

test_ambiguous_cases()
test_correct_cases()
test_file_samples()
test_wrong_cases()

lexnlp.extract.en.tests.test_amounts module

lexnlp.extract.en.tests.test_amounts_plain module

class lexnlp.extract.en.tests.test_amounts_plain.TestAmountsPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_amounts()
test_file_samples()
test_fraction_symbol()

lexnlp.extract.en.tests.test_citations module

lexnlp.extract.en.tests.test_citations_plain module

class lexnlp.extract.en.tests.test_citations_plain.TestCitationsPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_citations()
test_file_samples()

lexnlp.extract.en.tests.test_conditions module

lexnlp.extract.en.tests.test_conditions_plain module

class lexnlp.extract.en.tests.test_conditions_plain.TestConditionsPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_file_samples()

lexnlp.extract.en.tests.test_constraints module

lexnlp.extract.en.tests.test_constraints_plain module

class lexnlp.extract.en.tests.test_constraints_plain.TestConstraintsPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_constraints()
test_file_samples()

lexnlp.extract.en.tests.test_courts module

lexnlp.extract.en.tests.test_cusip module

class lexnlp.extract.en.tests.test_cusip.TestGetCUSIP(methodName='runTest')

Bases: lexnlp.extract.de.tests.test_amounts.AssertionMixin

test_correct_cases()
test_file_samples()
test_wrong_cases()

lexnlp.extract.en.tests.test_dates module

lexnlp.extract.en.tests.test_dates_plain module

lexnlp.extract.en.tests.test_definitions module

lexnlp.extract.en.tests.test_definitions_template module

class lexnlp.extract.en.tests.test_definitions_template.TestDefinitionsTemplate(methodName='runTest')

Bases: unittest.case.TestCase

test_file_samples()
lexnlp.extract.en.tests.test_definitions_template.get_definitions_sorted(text: str)

lexnlp.extract.en.tests.test_dict_entities module

lexnlp.extract.en.tests.test_distance module

lexnlp.extract.en.tests.test_distances_plain module

class lexnlp.extract.en.tests.test_distances_plain.TestDistancesPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_distances_digits()
test_distances_words()
test_file_samples()

lexnlp.extract.en.tests.test_durations module

lexnlp.extract.en.tests.test_durations_plain module

class lexnlp.extract.en.tests.test_durations_plain.TestDurationsPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_a_and_b()
test_durations_days()
test_durations_digits()
test_file_samples()

lexnlp.extract.en.tests.test_geoentities module

lexnlp.extract.en.tests.test_geoentities_plain module

class lexnlp.extract.en.tests.test_geoentities_plain.TestGeoentitiesPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_file_samples()
test_multiline_address()
test_simple_address()
lexnlp.extract.en.tests.test_geoentities_plain.make_geoconfig()
lexnlp.extract.en.tests.test_geoentities_plain.parse_geo_annotations(text: str) → List[lexnlp.extract.common.annotations.geo_annotation.GeoAnnotation]

lexnlp.extract.en.tests.test_introductory_words_detector module

class lexnlp.extract.en.tests.test_introductory_words_detector.TestIntroductoryWordsDetector(methodName='runTest')

Bases: unittest.case.TestCase

test_negative()
test_negative_combined()
test_positive()

lexnlp.extract.en.tests.test_money module

lexnlp.extract.en.tests.test_money_plain module

class lexnlp.extract.en.tests.test_money_plain.TestMoneyPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_file_samples()
test_money()
lexnlp.extract.en.tests.test_money_plain.get_money_annotations_sorted(text)

lexnlp.extract.en.tests.test_parsing_speed module

lexnlp.extract.en.tests.test_percent_plain module

class lexnlp.extract.en.tests.test_percent_plain.TestPercentPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_file_samples()
test_percent()
test_percent_amount()
test_percent_fraction()
test_percent_mix_fraction()

lexnlp.extract.en.tests.test_percents module

lexnlp.extract.en.tests.test_phone_plain module

class lexnlp.extract.en.tests.test_phone_plain.TestPhonePlain(methodName='runTest')

Bases: unittest.case.TestCase

test_file_samples()
test_phone()

lexnlp.extract.en.tests.test_pii module

lexnlp.extract.en.tests.test_ratios module

lexnlp.extract.en.tests.test_ratios_plain module

class lexnlp.extract.en.tests.test_ratios_plain.TestRatiosPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_file_samples()
test_ratio_slash()
test_ratios()

lexnlp.extract.en.tests.test_regulations module

lexnlp.extract.en.tests.test_regulations_plain module

class lexnlp.extract.en.tests.test_regulations_plain.TestRegulationsPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_file_samples()
test_regulations()

lexnlp.extract.en.tests.test_span_tokenizer module

class lexnlp.extract.en.tests.test_span_tokenizer.TestSpanTokenizer(methodName='runTest')

Bases: unittest.case.TestCase

test_split_dont()
test_split_plain()
test_split_simplest_case()
test_split_with_quotes()

lexnlp.extract.en.tests.test_ssn_plain module

class lexnlp.extract.en.tests.test_ssn_plain.TestSsnPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_file_samples()
test_ssn()

lexnlp.extract.en.tests.test_trademarks module

lexnlp.extract.en.tests.test_trademarks_plain module

class lexnlp.extract.en.tests.test_trademarks_plain.TestTrademarksPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_annotation_coords()
test_file_samples()
test_trademarks()

lexnlp.extract.en.tests.test_urls module

lexnlp.extract.en.tests.test_urls_plain module

class lexnlp.extract.en.tests.test_urls_plain.TestRatiosPlain(methodName='runTest')

Bases: unittest.case.TestCase

test_file_samples()
test_ratios()

Module contents