Skip to content

Commit 385b4ef

Browse files
author
Julien Salinas
committed
Ignore English language with multilingual addon.
1 parent 401530f commit 385b4ef

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

nlpcloud/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ def __init__(self, model, token, gpu=False, lang="", asynchronous=False):
1616

1717
if lang == "en":
1818
lang = ""
19+
if lang == "eng_Latn":
20+
lang = ""
1921

2022
if gpu:
2123
self.root_url += "gpu/"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='nlpcloud',
5-
version='1.0.42',
5+
version='1.0.43',
66
description='Python client for the NLP Cloud API',
77
long_description="NLP Cloud serves high performance pre-trained or custom models for NER, sentiment-analysis, classification, summarization, paraphrasing, grammar and spelling correction, keywords and keyphrases extraction, chatbot, product description and ad generation, intent classification, text generation, image generation, code generation, question answering, automatic speech recognition, machine translation, language detection, semantic search, semantic similarity, speech synthesis, tokenization, POS tagging, embeddings, and dependency parsing. It is ready for production, served through a REST API.\n\nThis is the Python client for the API.\n\nMore details here: https://nlpcloud.io\n\nDocumentation: https://docs.nlpcloud.io\n\nGithub: https://github.com/nlpcloud/nlpcloud-python",
88
packages=['nlpcloud'],

0 commit comments

Comments
 (0)