Signals Collection Through Natural Language Processing (NLP)

Eric Famanas

~5 min read

Signals Collection Through Natural Language Processing (NLP) — original article animation

As a signals intelligence (SIGINT) veteran, being able to look through the noise and identify signals of interest was my livelihood. At the time, before the advent of modern artificial intelligence (AI) and machine learning (ML) technologies, people used to look at us spooks with one of two viewpoints: misunderstood, because very few had the security clearance necessary to know what we did, or admired, due to the fact that visually or audibly identifying patterns of life or intent seemed like magic.

Granted, there is a lot more colourful language that is used out there to describe us, but I am trying to keep this clean, people!

Although my work around SIGINT and geospatial intelligence (GEOINT) revolved around radio frequency (RF) signals, I am, much to everyone's surprise, a linguist and translator through and through. Therefore, my training has been focused on the tiny signals or cues that are leaked whenever people talk, text, or email. The choices of their words, the use of punctuation (or lack thereof), or the rhythm of their sentences, all reveal emotion, intent, and context. Where humans have historically recognised these signals intuitively, my current endeavour as part of my PhD is to train a machine to do this automatically with precision.

At it's core, Natural Language Processing (NLP) is about teaching computers to understand language in a way that captures not only what we say but how we say it. In recent years, NLP has been used to detect signals of sentiment, whether text carriers a positive, negative or natural emotional tone. It is used across everyday communication platforms like email, chat messages and social media. It is employed by cybersecurity or intrusion detection systems (IDS) marketing, user telemetry, and even risk analysis (my current research).



I looked so happy back then.

I looked so happy back then.

But even as we generally understand NLP is a tool used by machines to understand humans, what many don't realise is that there's actually two types of NLP.

A Tale of Two Signal Processors

Broadly speaking, there are two families of NLP approaches: rules-based NLP and ML-based NLP.

A rules-based system works much like an expert checklist. Linguists (like me) and domain experts define patterns; for example, if a message includes words like, frustrated, angry, or unacceptable, flag it as negative. It's simple, interpretable, and easy to audit. A customer dashboard might highlight emails containing phrases such as "I'm disappointed" or "I expected better" as signals of dissatisfaction.



Ever watch "Signals in the City" on HBO?

Ever watch "Signals in the City" on HBO?

But language is messy. Humans can say things like: "great, just what I needed..."; a machine can infer this as something positive, but us as people will have better intuition to treat this as sarcasm. Examples such as this, in addition to cultural idioms and tone variation, quickly defeat static rules. That's where machine-learning (ML) based NLP comes into play.

Instead of writing rules, engineers feed large collections of labelled examples to algorithms. The model learns the statistical patterns that correspond to different sentiments. It might notice that particular sarcastic phrase often appears in contexts with negative replies and learn to associate it with frustration rather than praise.

And this concept gives a nice segue into our next topic: context.

Context! Context Everywhere!

In a previous article, we discussed how important context is to an AI system and ML-based NLP approaches are no different. As our requirements for reliable signals detection increase, and the environment becomes more rich with noise, we naturally transition from world lists and static rules and into implementations supporting context awareness.

Early sentiment models treated text like a bag of disconnected words; the system would count how many positive or negative words appeared and decide accordingly. While effective for simple cases, this method ignored context, i.e. "not happy" and "happy" would could potentially score the same if examined in isolation.



All your books are belong to us.

All your books are belong to us.

Modern NLP systems use embeddings, mathematical representations that capture meaning in a multi-dimensional space....

....I will pause for a moment because this idea confused me at first, as it may some others. In every day life, we may think of dimensions as things like 3D, or a plot of X, Y, and Z. In the context of machine learning (pun intended), this is no different, as a dimension refers to a value that can represent an axis or point. The basic data structures that we see are things like scalar (a single value), vector (a single line of values like a row), matrix (a 2-dimensional grid) and so on. So when we say multi-dimensional, we are referring to the different points or axes that are used to represent one or more numerical values. Confused yet? I certainly am....

.... modern NLP systems use embeddings. Words that occur in similar contexts, like joyful, cheerful, and glad, spatially appear close together within this numerical domain, whereas opposites such as sad or angry land far away.

The real breakthrough has come through with transformer architecture, the foundation of today's large language models (LLMs). Transformers don't just look at words; they consider relationships across entire sentences, helping the system develop a sense of the surrounding context. This technology has enabled NLP processes to interpret nuance, such as detecting that "I guess that's fine" may express resignation rather than approval.

Continuing to Read Between the Lines

When applied to workplace communication such as emails, slack messages, or even comments in Jira tickets, sentiment analysis can uncover hidden trends. Looking at this problem from a software project management perspective, and expanding the analysis into the context surrounding the communication medium, it is possible to automatically infer:


  • Is there enough detail in a Jira ticket for an engineer to make an actual implementation?

  • Is there enough activity like comments, or even transitions?

  • Are people's responses to queries short or ambiguous?

  • Are lengthy responses to a binary query indicators of frustration or hostility?

  • Do frequent emails contain any signals of impatience or anxiety?


These are all forms of signal collection, going beyond the linguistic analysis of just text, but also using NLP to analyse frequency and response body to determine sentiment.



Literally reading between the lines

Literally reading between the lines

However, this level of multi-dimension sentiment detection isn't magic; it works best when grounded in the context: who is writing, what domain they are in, and how they usually communicate. We can refer to this as the immediate context. Further outward, examining the author's situation, any other parties involved, and even external pressures surrounding the given task lend itself to internal or team-related context of the project team.

Ultimately, we learned we can use NLP for sentiment signals collection and analysis. The next step is to empower that ML-NLP with even more information to help refine its analysis to a greater accuracy by considering the contextual situation the communication has taken place in.



Systems Orchestrator

CTO · Technology leadership