Questions tagged [polyglot]

Multilingual text (NLP) processing toolkit for Python

From the homepage:

Polyglot is a natural language pipeline that supports massive multilingual applications.

Features:

  • Tokenization (165 Languages)
  • Language detection (196 Languages)
  • Named Entity Recognition (40 Languages)
  • Part of Speech Tagging (16 Languages)
  • Sentiment Analysis (136 Languages)
  • Word Embeddings (137 Languages)
  • Morphological analysis (135 Languages)
  • Transliteration (69 Languages)
111 questions
4
votes
6 answers

Why do you or do you not implement using polyglot solutions?

Polyglot, or multiple language, solutions allow you to apply languages to problems which they are best suited for. Yet, at least in my experience, software shops tend to want to apply a "super" language to all aspects of the problem they are trying…
dacracot
  • 22,002
  • 26
  • 104
  • 152
4
votes
1 answer

Import or Symbol not Found Error with polyglot when PyICU and icu4c installed correctly

I'm really struggling with polyglot, pyicu and icu4c - and it seems like I'm not the only one... I'm running Mac OS High Sierra 10.13.6 and python3 with a virtualenv Here are the steps I've taken, largely based on this article: Start from a new…
Nahko
  • 78
  • 10
4
votes
0 answers

Polyglot persistence in Android

I wonder if there is a way of implementing Polyglot persistence in Android. How would you implement it? I'm looking for an Open Source sample project in order to dig deeper into the subject.
Guardiola31337
  • 213
  • 1
  • 11
3
votes
0 answers

error installing polyglot package in stack heroku-18 and python3.6.12 runtime

I want to deploy a flask server that is capable of upload files and text pre-processing techniques using packages like spacy, polyglot, etc. while installing the polyglot package in Heroku(i.e. stack Heroku-18) it's always throwing error like below …
Sai Ram
  • 71
  • 7
3
votes
2 answers

GraalVM JavaScript in Java - How to identify an async method

Consider we have the following JS code: async function helloAsync(){ return "Hello"; } function hello(){ return "Hello"; } In Java, you can load this code into a GraalVM context object using: context.eval("js",…
The_Outsider
  • 146
  • 8
3
votes
1 answer

i had issue with installing "icu" in python 3.5 windows 10

error in instalation of UCI package in python ERROR: Command "python setup.py egg_info" failed with error code 1 i already try pip install uci4c pip install uci pip3 install uci ImportError Traceback (most recent…
JAL IPO_
  • 56
  • 1
  • 6
3
votes
1 answer

Polyglot Installation

I'm trying to install 'polyglot' using the below command pip install polyglot But I'm getting the below error Command "python setup.py egg_info" failed with error code 1 in C:\Users\K~1.SHA\AppData\Local\Temp\pip-install-tcez0ptg\polyglot\ My…
Kailash Sharma
  • 51
  • 1
  • 2
  • 7
3
votes
1 answer

UnicodeDecodeError error when loading word2vec

Full Description I am starting to work with word embedding and found a great amount of information about it. I understand, this far, that I can train my own word vectors or use previously trained ones, such as Google's or Wikipedia's, which are…
Luís Flávio
  • 171
  • 1
  • 12
3
votes
1 answer

pyicu on mac : ./common.h:38:13: error: unknown type name 'decltype'

I am trying to install pyicu on osx 10.12.4 , But i am keep getting error : I am trying to use polyglot : from polyglot.downloader import downloader print(downloader.supported_languages_table("ner2", 3)) But it's giving pyicu error so i am…
Aaditya Ura
  • 12,007
  • 7
  • 50
  • 88
3
votes
2 answers

SQL Server, Cosmos / document DB, Identity membership and polyglot persistence

So here's my situation: I'm building a web application using .NET Core and React.js. I'm asking what would be the best authentification methods/strategies for my users. In the past, I used Identity in MVC.NET apps to generate Identity table and…
iPeo
  • 399
  • 2
  • 7
  • 16
3
votes
1 answer

use polyglot package for Named Entity Recognition in hebrew

I am trying to use the polyglot package for Named Entity Recognition in hebrew. this is my code: # -*- coding: utf8 -*- import polyglot from polyglot.text import Text, Word from polyglot.downloader import…
eliavs
  • 2,306
  • 4
  • 23
  • 33
3
votes
2 answers

Using multiple JVM languages in the same project

I'd like to use Kotlin & Scala together in projects, and maybe some other languages, but I've seen no good way of doing it. The only way I thought of was compiling one language and decompiling it into Java to work with the other. Are there any…
jado
  • 922
  • 9
  • 21
3
votes
3 answers

How do I integrate my Java program into a project written in C#?

I've heard that Reddit and Facebook have written certain parts of their applications in C/C++ to speed up run times. However, to my knowledge, the main platforms are written in other languages. How do they get these programs to work together? I…
toolshed
  • 1,919
  • 9
  • 38
  • 50
2
votes
1 answer

Display Mermaid diagram from C# variable in Polyglot notebook

I know that Polyglot notebooks support Mermaid diagrams. But it doesn't support veriable sharing. Suppose I have diagram code in C# string variable. Are there any possibility to display that string as diagram? Example: // below diagram code was…
2
votes
0 answers

How to use a manually installed .NET SDK in Polyglot Notebook

I am trying to use Polyglot Notebooks in VS Code. I am on a corporate computer that only has Dotnet SDK 5.0 installed, and I do not have admin privileges. I have downloaded the binaries for the most recent version of .NET 7 and unzipped them into a…