Knowledge Discovery 26.1
Knowledge Discovery Expert

# Source Code Detection

File Content Extraction has the ability to classify documents by their binary filetype (such as PDF, Word Document, JPEG Image, Windows Executable, and over 1000 others). If configured to do so, it can also determine that a file is the source file of a programming language, and can detect the source files of over 200 programming languages.

The detection runs in two modes. In ‘basic’ mode it detects documents in the 48 most-common programming languages. ‘Full’ mode adds the remaining programming languages, including many rare languages, and so should only be used if a sizable number of such rare languages are expected in the files.

NOTE: The detection is designed to locate files that largely or entirely consist of source code, not files in other formats, such as word processor formats, that happen to contain snippets of source code.

Copyright 2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery 26.1

Topic Title: Source Code Detection