lexnlp.extract.en.tests package¶
Submodules¶
lexnlp.extract.en.tests.test_acts module¶
lexnlp.extract.en.tests.test_amounts module¶
lexnlp.extract.en.tests.test_amounts_plain module¶
lexnlp.extract.en.tests.test_citations module¶
lexnlp.extract.en.tests.test_citations_plain module¶
lexnlp.extract.en.tests.test_conditions module¶
lexnlp.extract.en.tests.test_conditions_plain module¶
lexnlp.extract.en.tests.test_constraints module¶
lexnlp.extract.en.tests.test_constraints_plain module¶
lexnlp.extract.en.tests.test_copyright module¶
lexnlp.extract.en.tests.test_copyright_plain module¶
-
class
lexnlp.extract.en.tests.test_copyright_plain.
TestCopyrightPlain
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
test_big_file
()¶
-
test_copyrights
()¶
-
test_file_samples
()¶
-
test_text_coords
()¶
-
-
lexnlp.extract.en.tests.test_copyright_plain.
get_copyright_verbose_annotations
(text: str) → Generator[[lexnlp.extract.common.annotations.copyright_annotation.CopyrightAnnotation, None], None]¶
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¶
lexnlp.extract.en.tests.test_durations module¶
lexnlp.extract.en.tests.test_durations_plain module¶
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¶
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)¶