C. Umana Dajud

Software

FtaCoder

Trade agreements have grown from tariff schedules into thousand-page rulebooks. FtaCoder reads them so you don't have to: text analysis and machine learning that codes what each agreement covers — used in the Journal of Economic Geography paper on business travel.

View on GitHub ↗git clone github.com/camiloumanadajud/FtaCoder

What 450 trade agreements talk about

Share of agreements covering each topic; the darker segment is also subject to dispute settlement.

Trade Remedies312 · 279 in DS
Rules of Origin288 · 257 in DS
Intellectual Property257 · 239 in DS
Investment245 · 212 in DS
Dispute Settlement238 · 122 in DS
Environment227 · 194 in DS
Government Procurement225 · 199 in DS
Technical Barriers218 · 204 in DS
Sanitary Measures204 · 172 in DS
Services178 · 151 in DS
Labour150 · 128 in DS
Movement of Persons102 · 74 in DS
Competition76 · 57 in DS
Mining73 · 72 in DS
E-commerce64 · 54 in DS

Look up an agreement

All 450 agreements of the TOTA corpus, coded by FtaCoder.

Live demo

Run it in your browser

The core of FtaCoder is keyword and pattern matching over the full text of agreements (the TOTA corpus), refined with classifiers for dispute-settlement language. This demo runs the same pattern matching, client-side, on four well-known agreements — pick a topic or write your own patterns.

Corpus: Text of Trade Agreements (TOTA), CC BY-NC 4.0. The full pipeline — including the machine-learning classification of dispute-settlement clauses — is in the GitHub repository.