Skip to content

Docs ftm-analyze on pypi PyPI Downloads PyPI - Python Version Python test and package pre-commit Coverage Status AGPLv3+ License Pydantic v2

ftm-analyze

Analyze FollowTheMoney entities. This is part of the ingestion process for OpenAleph but can be used standalone or in other applications as well.

ftm-analyze outsources the "analyze" pipeline from ingest-file.

Features

  • Detect language
  • Detect country based on location names
  • Named Entity Extraction (via spacy) and schema prediction
  • Convert Mention entities into their resolved counterparts if they are known (via juditha) Read more
  • Extract email, phonenumbers, ibans Read more
  • Annotate extracted patterns and names for full text search Read more

Installation

pip install ftm-analyze

Quickstart

ftm-analyze analyze -i s3://data/entities.ftm.json -o postgresql:///ftm