1. Corpus
The corpus holds more than one million articles published since 2004 by 30 French sources: national and regional daily newspapers, weekly magazines and news agencies, in print and online. Articles are accessed under licence. No article text is redistributed on this site, only monthly aggregates.
2. Selecting articles about prices
Articles are first retrieved with keywords from the vocabulary of prices and inflation. Many of these words have other meanings: in French, prix is both a price and a prize. A filtering step keeps only the articles that are about the prices of goods and services.
3. Classifying the direction of prices
A supervised machine-learning model, trained on articles labelled by hand, assigns each article a direction: prices rising, falling or stable. This approach is compared with alternatives based on topic models and on word pairs, and it performs better on French data.
4. Two monthly indicators
The first indicator counts the articles about prices each month, as a measure of media attention to inflation. The second is a balance of opinions, built like the balances used in household and business surveys: articles reporting rising prices against articles reporting falling prices. The published series comes in a raw version and a version smoothed with an exponentially weighted moving average (α = 0.35).
5. Validation
The indicator is compared with households' inflation expectations in the European Commission consumer survey and with headline HICP inflation, and tested for its contribution to short-term inflation forecasts alongside professional forecasts, market-based measures and oil prices. The detailed results are in the paper.
6. Limitations
News coverage reflects editorial choices as well as economic conditions. The indicator measures what the press reports about prices, which shapes and reflects household views; it is not a direct measure of expected inflation. The set of sources also changes over time, which can move the number of articles independently of inflation.
Series published by the Banque de France on Webstat.