Skip to content

Maximum Text Length Translations #5742

Answered by maziyarpanahi
Alexbuchwald asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

You are using NLU: https://github.com/JohnSnowLabs/nlu

In Spark NLP there are 2 parameters to set the input/output lengths. Also, you can feed sentences and which breaks the documents to shorter sentences for better and faster translation.

Perhaps @C-K-Loan can share more info about how to do these in NLU.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Alexbuchwald
Comment options

Answer selected by Alexbuchwald
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants