Named Entity Recognition (NER)

Video Tutorial: Named Entity Recognition.

In natural language processing, Named Entity Recognition (NER) is a process where a sentence, or a chunk of text is parsed through to find entities that can be put under categories like person, organization, location, or miscellaneous like work of arts, languages, political parties, events, title of books, etc.

This function is available for the following languages:

  • English
  • German
  • Spanish
  • Portuguese
  • French
  • Dutch
  • Russian
  • Simplified Chinese

You can think of it like a special auto coding procedure, where you as the user do not enter a search term. Instead, ATLAS.ti goes through your data and finds entities for you.

You can select which entities you want to search for:

  • person
  • organization
  • location
  • miscellaneous (work of arts, languages, political parties, events, title of books, etc.)

After the search is completed, ATLAS.ti shows you what it found, and you can make corrections. In the next step you can review the results in context and code all results with the suggested codes, or decide for each hit whether to code it or not.

To open the tool:

Select the Search & Code tab and from there Named Entity Recognition.
inst
Select documents or document groups that you want to search and click Continue.

Select whether the base unit for the search, and the coding should be paragraphs, sentences, or word, and which entity category you want to search for.

Define NER Query

Manage Models: If you want to improve your results, you can download and install a more comprehensive model.

Click on Manage Models if you want to install or uninstall an extended model.

Click Continue to begin searching the selected documents. On the next screen, the search results are presented, and you can review them.

Reviewing Search Results

If you selected to search for all entity types (persons, location, organization and miscellaneous), you can review them all together, or just focus on one entity at a time. To do so, deactivate all other entity types.

NER Review Search Results

Select all results that you want to code. If a result is interesting but comes up in the wrong category, you can change the category in the second column of the result list. In the third column, the suggested code name is listed.

Autocode results

You have three options for the code name:

  • Category only: If you select this option, all search hits will be coded under the NER category: Person, Location, Organization, Miscellaneous

  • Category: Entity: If you select this option, categories with subcodes will be created for the NEW categories: Person, Location, Organization, Miscellaneous. The entities will become the subcodes.

You also have the option to group all codes of a NER category into a code group. This option is useful if you selected the second option with subcodes.

Click Show Results to inspect the results in context.

The result page shows you a Quotation Reader indicating where the quotations are when coding the data with the proposed code. If coding already exist at the quotation, it will also be shown.

NER Results

By clicking on the eye, you can change between small and large previews.

You can go through and review each data segment and then code it by clicking on the plus next to the code name. Or, you can code all results at once by selecting Apply Proposed Codes. You can select the first option Apply All Codes, or select only one code from the list.

If you have selected the category: subcode option for coding, the coding results might look as follows:

NER Coding Results

Depending on the area you have selected at the beginning, either the word, the sentence, or the paragraph is coded.

The regular Coding Dialogue is also available to add or remove codes.

Manual Coding of suggested statements

The Search Engine Behind NER

ATLAS.ti uses spaCy as its natural language processing engine. More detailed information can be found here.

Input data gets processed in a pipeline - one step after the other as to improve upon the derived knowledge of the prior step. Click here for further details.

The first step is a tokenizer to chunk a given text into meaningful parts and replace ellipses etc. For example, the sentence:

“I should’ve known (didn't back then).” will get tokenized to: “I should have known ( did not back then ).“

The tokenizer uses a vocabulary for each language to assign a vector to a word. This vector was pre-learned by using a corpus and represents a kind of similarity in usage in the used corpus. Click here more information.

The next component is a tagger that assigns part-of-speech tags to every token and lexemes if the token is a word. The character sequence “mine”, for instance, has quite different meanings depending on whether it is a noun of a pronoun.

Thus, it is not just a list of words that is used as benchmark. Therefore, there is also no option to add your own words to a list or to see the list of words that is used.

The entity recognizer is trained on wikipedia-like text and works best in grammatically correct, encyclopedia-like text. We are using modified pre-trained/built-from-the-ground-up models - depending on the language.