Remove en-int
article thumbnail

Retain original PDF formatting to view translated documents with Amazon Textract, Amazon Translate, and PDFBox

AWS Machine Learning

jar --source en --translated es Two translated PDF documents are created in the documents folder, with and without the original formatting ( SampleOutput-es.pdf and SampleOutput-min-es.pdf ). Region region = Region.US_EAST_1; TextractClient textractClient = TextractClient.builder().region(region).build(); region(region).build(); text(source).build();

article thumbnail

Streamline diarization using AI as an assistive technology: ZOO Digital’s story

AWS Machine Learning

in a code subdirectory. in a code subdirectory.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Text embedding and sentence similarity retrieval at scale with Amazon SageMaker JumpStart

AWS Machine Learning

In this post, we use huggingface-sentencesimilarity-bge-large-en as an example. English BGE Base En 21.2 114 English BGE Small En 28.3 English BGE Large En 34.7 English BGE Base En 29.1 372 English BGE Small En 29.2 124 English BGE Large En 47.2 337 English Multilingual E5 Base 22.1

article thumbnail

Building a Real Time.NET Transcription Service

Nexmo

const int SAMPLES_PER_SECOND = 8000; const int BITS_PER_SAMPLE = 16; const int NUMBER_OF_CHANNELS = 1; const int BUFFER_SIZE = 160 * 2; Next, add the following field to the class: _config – this will hold the subscription/regional info of the speech analyzer.

APIs 118
article thumbnail

Break through language barriers with Amazon Transcribe, Amazon Translate, and Amazon Polly

AWS Machine Learning

Open stream stream = pa.open(format = pyaudio.paInt16, channels = input_channel_count, rate = int(input_sample_rate), input = True, frames_per_buffer = default_frames, input_device_index = input_dev_index, stream_callback=callback) # Initiate the audio stream and asynchronously yield the audio chunks # as they become available.

APIs 73
article thumbnail

Translate a Phone Call with Blazor, SignalR, and Azure

Nexmo

const int SAMPLES_PER_SECOND = 16000; const int BITS_PER_SAMPLE = 16; const int NUMBER_OF_CHANNELS = 1; const int BUFFER_SIZE = 320 * 2; Add Private Fields. ToString(), LanguageSpoken = "en-US", LanguageTranslated = "es-MX" } } } }; var ncco = new Ncco(webSocketAction); return Ok(ncco.ToString()); }.

APIs 118
article thumbnail

Get better insight from reviews using Amazon Comprehend

AWS Machine Learning

language_code = 'en' # Topic names for 5 topics created by human-in-the-loop or SME feed topicMaps = { 0: 'Product comfortability', 1: 'Product Quality and Price', 2: 'Product Size', 3: 'Product Color', 4: 'Product Return', }. . . # boto3 session to access service session = boto3.Session() Session() comprehend = boto3.client( str.split(':').str[1]

APIs 68