/News-Automation

Automate digital news production workflow using Python multimedia and AI packages.

Primary LanguagePythonMIT LicenseMIT

The News

Critical Approaches to the News

Over time, financial pressures at news outlets have made investigative reporting more difficult to finance. This is a reasonable hypothesis. It cannot be stated as an objective scientific fact without evidence to support it.This reality is a good reason to retain a note of scepticism for much of the opinion expressed on a typical op-ed page.

However, in one possible world with unlimited journalistic resources, empirical quantitative and qualitative evidence would be mustered to support op-ed pieces and also conclusions reached by 'experts' expressing their opinions in news articles, which is a pretty common form of editorializing that does exclude certain pontetially opposing voices.

News-Automation

Automate digital news production workflow using Python multimedia and AI packages.

I worked for 11 years for the Bangkok Post crafting the news for Thai English learners.

The reverse approach is taken here, namely crafting the Thai news for Thai language learners.

RSS Feeds (for VOA Thai News)

  • rss2json.py: Retrieve an online RSS feed and convert to JSON format.
  • voa_thai_feed.json: VOA Thai News RSS feed converted to JSON format.
  • json2articles.py: Extracting news articles from JSON RSS feed file and writing to text files.

Text-to-Speech Audio for Thai News

  • rss2mp3.py: Choose an VOA news in Thai language RSS feed, then choose a story in the feed, then write text to .txt file, and make text-to-speech MP3 audio file.

News for Learning Thai

  • Thai Interlinear: Inserting English definitions in parentheses after Thai words in a Thai text.

thaiinterlinear1

Research into News Issues

Extrajudicial Killing during the 2016 Philippine 'War on Drugs':

Spacy NLP

Spacy is an open-source software library for advanced Natural Language Processing (NLP) tasks in Python.

Paraphrasing & Similarity

  • Paraphrasing & Similarity Tools: Tools for paraphrasing a text and then checking that the paraphrased text does not too closely resemble the original (i.e. no plagiarism).