Skip to content

ftm-analyze on pypi Python test and package pre-commit Coverage Status AGPLv3+ License

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)
  • Extract email, phonenumbers, ibans

Installation

pip install ftm-analyze

Quickstart

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