Skip to main content

Figurenerkennung for German literary texts

Build Status DOI

An important step in the quantitative analysis of narrative texts is the automatic recognition of references to figures, a special case of the generic NLP problem of Named Entity Recognition (NER).

Usually NER models are not designed for literary texts resulting in poor recall. This easy-to-use package is the continuation of the work of Jannidis et al. using techniques from the field of Deep Learning.

Installation

$ pip install figur

Example

>>> import figur
>>> text = "Der Gärtner entfernte sich eilig, und Eduard folgte bald."
>>> figur.tag(text)
   SentenceId      Token      Tag
0           0        Der        _
1           0    Gärtner  AppTdfW
2           0  entfernte        _
3           0       sich     Pron
4           0     eilig,        _
5           0        und        _
6           0     Eduard     Core
7           0     folgte        _
8           0      bald.        _

Figurenerkennung statistics

Confusion Matrix

Release files for figur 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for figur 0.0.8
File Size Uploaded
figur-0.0.8.tar.gz 3.9 kB Details

Release files / figur-0.0.8.tar.gz

Download URL figur-0.0.8.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1e19db8de8c675e916b1e12a48f902310e4a59e150df8f5efc5ac84c90f2d8eb
BLAKE2b-256 checksum
How to use checksums
1ac3a12effc124d2b866515b3fa292975145628cb3fdb521e47120e086a7e82e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.0.8 This release

1 release file

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page