Financial Language Pack Support for IronOCR

This article was translated from English: Does it need improvement?
Translated
View the article in English

Puis-je utiliser le pack linguistique financier pour faciliter la lecture de tableaux de données dans IronOCR ?

Oui, l'utilisation du Financial Language Pack et l'enregistrement au format PDF avec possibilité de recherche peuvent être un moyen très efficace d'y parvenir.

Pack linguistique financier IronOcr

Documentation du pack linguistique financier IronOCR

Exemple de code

// Import the IronOcr library
using IronOcr;

class Program
{
    static void Main()
    {
        // Initialize a new instance of IronTesseract
        var Ocr = new IronTesseract();

        // Set the OCR language to Financial
        Ocr.Language = OcrLanguage.Financial;

        // Using statement to ensure proper disposal of resources
        using (var input = new OcrInput())
        {
            // Add a PDF file to be processed by OCR
            input.AddPdf("TestPdf_new.pdf");

            // Optional: Add image filters if needed to improve OCR 
            // input.Deskew();    // Corrects rotation and skewing
            // input.DeNoise();   // Reduces noise and improves readability

            // Perform OCR on the input PDF
            var Result = Ocr.Read(input);

            // Extract the recognized text
            string TestResult = Result.Text;

            // Save the result as a searchable PDF using the Financial language pack
            Result.SaveAsSearchablePdf("Output_using_Financial_language_pack.pdf");
        }
    }
}
// Import the IronOcr library
using IronOcr;

class Program
{
    static void Main()
    {
        // Initialize a new instance of IronTesseract
        var Ocr = new IronTesseract();

        // Set the OCR language to Financial
        Ocr.Language = OcrLanguage.Financial;

        // Using statement to ensure proper disposal of resources
        using (var input = new OcrInput())
        {
            // Add a PDF file to be processed by OCR
            input.AddPdf("TestPdf_new.pdf");

            // Optional: Add image filters if needed to improve OCR 
            // input.Deskew();    // Corrects rotation and skewing
            // input.DeNoise();   // Reduces noise and improves readability

            // Perform OCR on the input PDF
            var Result = Ocr.Read(input);

            // Extract the recognized text
            string TestResult = Result.Text;

            // Save the result as a searchable PDF using the Financial language pack
            Result.SaveAsSearchablePdf("Output_using_Financial_language_pack.pdf");
        }
    }
}
' Import the IronOcr library
Imports IronOcr

Friend Class Program
	Shared Sub Main()
		' Initialize a new instance of IronTesseract
		Dim Ocr = New IronTesseract()

		' Set the OCR language to Financial
		Ocr.Language = OcrLanguage.Financial

		' Using statement to ensure proper disposal of resources
		Using input = New OcrInput()
			' Add a PDF file to be processed by OCR
			input.AddPdf("TestPdf_new.pdf")

			' Optional: Add image filters if needed to improve OCR 
			' input.Deskew();    // Corrects rotation and skewing
			' input.DeNoise();   // Reduces noise and improves readability

			' Perform OCR on the input PDF
			Dim Result = Ocr.Read(input)

			' Extract the recognized text
			Dim TestResult As String = Result.Text

			' Save the result as a searchable PDF using the Financial language pack
			Result.SaveAsSearchablePdf("Output_using_Financial_language_pack.pdf")
		End Using
	End Sub
End Class
$vbLabelText   $csharpLabel
Curtis Chau
Rédacteur technique

Curtis Chau détient un baccalauréat en informatique (Université de Carleton) et se spécialise dans le développement front-end avec expertise en Node.js, TypeScript, JavaScript et React. Passionné par la création d'interfaces utilisateur intuitives et esthétiquement plaisantes, Curtis aime travailler avec des frameworks modernes ...

Lire la suite
Prêt à commencer?
Nuget Téléchargements 5,044,537 | Version : 2025.11 vient de sortir