दस्तावेज़ फ़ील्ड का स्वचालित पता लगाना

हमारे विश्लेषक अपलोड किए गए दस्तावेज़ों से अद्वितीय फ़ील्ड मानों को बुद्धिमानी से पहचानते हैं और स्वचालित रूप से पता लगाते हैं।

दस्तावेज़ भाषा पहचान

स्कैन किए गए या मुद्रित दस्तावेज़ों, छवियों और पीडीएफ फाइलों की भाषा का पता लगाएं।

ऑप्टिकल कैरेक्टर रिकग्निशन (ओसीआर)

छवियों और पीडीएफ फाइलों सहित स्कैन किए गए या मुद्रित दस्तावेजों को मशीन-पठनीय पाठ में बदलें।

एकीकरण और स्वचालन

हमारे दस्तावेज़ विश्लेषकों को मौजूदा सॉफ़्टवेयर सिस्टम या कार्य प्रक्रियाओं में एकीकृत किया जा सकता है।

दस्तावेज़ भाषा पहचान एपीआई

Parse Documents सभी दस्तावेज़ विश्लेषण आवश्यकताओं को पूरा करने के लिए डिज़ाइन किया गया एपीआई का एक मजबूत सेट है। हमारा लक्ष्य दस्तावेज़ों को प्रबंधित करने की जटिल प्रक्रिया को सरल बनाना है, चाहे वह खोज करना हो, विश्लेषण करना हो या त्रुटियों को संभालना हो। इनमें आसान पेज सॉर्टिंग, समर्थित दस्तावेज़ प्रकारों की एक विस्तृत श्रृंखला और संपूर्ण त्रुटि रिपोर्टिंग शामिल है।

बहुमुखी प्रतिभा और लचीलापन

हमारे विभिन्न एपीआई का उपयोग करके, आप न केवल अपलोड किए गए दस्तावेज़ों को पढ़ सकते हैं, बल्कि सीधे अपलोड या बाहरी लिंक द्वारा विश्लेषण के लिए दस्तावेज़ों को कतारबद्ध भी कर सकते हैं। हमारे एपीआई को व्यवसाय की गतिशील प्रकृति को ध्यान में रखकर डिज़ाइन किया गया है, जो उन्हें विभिन्न प्रकार की व्यावसायिक आवश्यकताओं और कॉन्फ़िगरेशन को सहजता से समायोजित करने की अनुमति देता है।

स्वैगर विन्यास

एपीआई को ओपनएपीआई विशिष्टता (ओएएस) के अनुसार कोडित किया जाता है, जिससे एकीकरण प्रक्रिया परेशानी मुक्त और सरल हो जाती है। हम स्वैगर उपयोगकर्ता इंटरफ़ेस पर आधारित व्यापक दस्तावेज़ीकरण प्रदान करते हैं जो संभावित प्रतिक्रियाओं और संभावित स्थिति और त्रुटि कोड का विवरण देता है।

आपकी सुरक्षा हमारी प्राथमिकता है

अधिकतम सुरक्षा के लिए सभी एपीआई अनुरोधों को जेडब्ल्यूटी हेडर का उपयोग करके प्रमाणित किया जाता है। यह सुनिश्चित करता है कि आपका संवेदनशील दस्तावेज़ डेटा हमेशा सुरक्षित रहेगा।

आएँ शुरू करें

हम आपको अपने साथ पाकर उत्साहित हैं और यह देखने के लिए इंतजार नहीं कर सकते कि आप अपने दस्तावेज़ प्रबंधन कार्यों में Parse Documents को कैसे एकीकृत करते हैं और उसके लाभों को अधिकतम करते हैं!

"YourAuthTokenHere" को वास्तविक वाहक टोकन से बदलना सुनिश्चित करें।
Identify Document Languages
POST /v1/documents/languages

A POST method that identifies the languages of the provided document text. This method takes the document text as input and returns the identified languages along with their probabilities.

Example Request
POST /v1/documents/languages
Request Body
{
    "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
}
Responses
  • 200 Success: Returns the identified languages along with their probabilities.
  • 404 Not Found: The requested document is not found.
  • 400 Bad Request: The request was made incorrectly.
Here is the modified HTML template with the .NET example filled and rewritten for other programming languages:
import requests

url = "https://%(baseUrl)s/v1/documents/languages"
headers = {
    "Authorization": "Bearer {YOUR_API_KEY}"
}

payload = {
    "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
}

response = requests.post(url, headers=headers, json=payload)
response.raise_for_status()

identified_languages = response.json()

for lang in identified_languages:
    print(f"Language: {lang['code']} - Probability: {lang['probability']}")
        
package main

import (
    "fmt"
    "net/http"
    "bytes"
    "encoding/json"
)

func main() {
    identifyDocumentLanguages()
}

func identifyDocumentLanguages() {
    url := "https://%(baseUrl)s/v1/documents/languages"
    apiKey := "{YOUR_API_KEY}"

    payload := map[string]interface{}{
        "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
    }

    requestBody, _ := json.Marshal(payload)
    req, _ := http.NewRequest("POST", url, bytes.NewBuffer(requestBody))
    req.Header.Set("Authorization", "Bearer "+apiKey)
    req.Header.Set("Content-Type", "application/json")

    client := &http.Client{}
    response, _ := client.Do(req)

    identifiedLanguages := []map[string]interface{}{}

    json.NewDecoder(response.Body).Decode(&identifiedLanguages)

    for _, lang := range identifiedLanguages {
        fmt.Printf("Language: %v - Probability: %v\n", lang["code"], lang["probability"])
    }
}
        
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://%(baseUrl)s/v1/documents/languages",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_POST => true,
  CURLOPT_POSTFIELDS => json_encode([
    "text" => "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
  ]),
  CURLOPT_HTTPHEADER => [
    "Authorization: Bearer {YOUR_API_KEY}",
    "Content-Type: application/json"
  ],
]);

$response = curl_exec($curl);
$error = curl_error($curl);

curl_close($curl);

if ($error) {
  echo "Error: " . $error;
} else {
  $identifiedLanguages = json_decode($response, true);

  foreach ($identifiedLanguages as $lang) {
    echo "Language: " . $lang['code'] . " - Probability: " . $lang['probability'] . "\n";
  }
}
using System;
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;

class Program
{
    private static readonly HttpClient client = new HttpClient();
    private static readonly string BASE_URL = "{YOUR_API_BASE_URL}";
    private static readonly string API_KEY = "{YOUR_API_KEY}";

    static void Main(string[] args)
    {
        IdentifyDocumentLanguages().Wait();
    }

    private static async Task IdentifyDocumentLanguages()
    {
        try
        {
            client.DefaultRequestHeaders.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", API_KEY);

            var requestBody = new
            {
                text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
            };

            var requestContent = new StringContent(JsonSerializer.Serialize(requestBody), Encoding.UTF8, "application/json");

            var response = await client.PostAsync(BASE_URL + "/v1/documents/languages", requestContent);
            response.EnsureSuccessStatusCode();

            var responseBody = await response.Content.ReadAsStringAsync();
            var identifiedLanguages = JsonSerializer.Deserialize<IdentifyLanguage[]>(responseBody);

            foreach (var lang in identifiedLanguages)
            {
                Console.WriteLine($"Language: {lang.code} - Probability: {lang.probability}");
            }
        }
        catch (HttpRequestException e)
        {
            Console.WriteLine($"Error: {e.Message}");
        }
    }
}

In this code, we define a simple program with a single method `IdentifyDocumentLanguages`.

This method first sets up the authentication header by adding the bearer token to the HttpClient's default headers.

Then, it creates the request body containing the document text.

It sends a POST request to the specified endpoint with the request body as JSON.

If the request fails for any reason, an HttpRequestException will be thrown and the method will catch it and print the error message to the console.

If the request is successful, the method will read the response body as an array of `IdentifyLanguage` objects and print the language code and probability for each identified language.

Request Body:

  • text: The document text to identify the languages.

Parse Documents

अपनी दस्तावेज़ प्रसंस्करण प्रक्रिया को एक उन्नत, एआई-संचालित डेटा निष्कर्षण प्रणाली के साथ बदलें जो आपको बेहतर निर्णय लेने में मदद करती है।