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
0
votes
0 answers

When Installing polyglot with pip exception: Command "python setup.py egg_info" failed with error code 1 in

I am trying to install polyglot. I run Windows10 and have installed python3 using Anaconda3. I have updated the setuptools. The command and the error message are the following: (base) C:\Users\Alienware\Documents>pip install -U…
user8270077
  • 4,621
  • 17
  • 75
  • 140
0
votes
0 answers

Python polyglot max language code length

I saw most language codes provided in the polyglot examples were two characters: 'en', 'es', 'zh', etc. However, I know they can also contain regions within each language, one example had 'zh_hant' such as here:…
user58446
  • 269
  • 1
  • 3
  • 17
0
votes
2 answers

How to get the index within raw text of an entity found by Polyglot python library?

I would like to get the index within the raw text of an entity found with the poplyglot library of python. # Polyglot example NER from polyglot.text import Text text1 = u'Ik wil Ben mijn zoontje met de naam Ben ziek melden.' …
0
votes
1 answer

'createPolyglotMiddleware' is not defined

I'm trying to set up redux-polyglot following the instructions here: https://www.npmjs.com/package/redux-polyglot My problem is that when I add the const polyglotMiddleware = createPolyglotMiddleware( part I get an error telling me it isn't…
Leo Farmer
  • 7,730
  • 5
  • 31
  • 47
0
votes
1 answer

Suggestion for Ancestry type Database: MongoDB, Redis, etc.?

I'm writing a ruby app that stores ancestry type data. I.e. Family tree. For the rest of the application I'm using MongoDB for storage as it lends itself to a hierarchical structure, however ancestry data doesn't quite fit that model, even though it…
Dave Rapin
  • 1,471
  • 14
  • 18
0
votes
2 answers

Error installing polyglot in python 3.5.2

I want to do sentiment analysis on urdu sentences. I searched a python package Polyglot having URDU POS tagger in it. But on installing, it prompts error; Any way out?
Humty
  • 1,321
  • 3
  • 18
  • 35
0
votes
1 answer

UTF-16 Code Units In Python Polyglot

I need to extract the number of UTF-16 code units from the start of the string at which a location name starts from a Python sting. I am using Polyglot NER to tag a location in a Python string. For example, "Obama was born in the United States. But…
Sepehr Sobhani
  • 862
  • 3
  • 12
  • 29
0
votes
4 answers

Getting error on installing polyglot for python 3.5?

HI i want to install the polyglot on python version 3.5. it requires to have numpy installed which i already have and also libicu-dev. My OS is windows X86. I went through cmd, pip and wrote "pip install libicu-dev" but it gives me an error that…
amy
  • 5
  • 2
  • 7
0
votes
1 answer

Unable to build a POM-less OSGi bundle with tycho

I've a "Hello, World!" OSGi bundle based on the tycho's 0.24 POM-less build example. The project root includes a directory with the bundle code named com.softalks.tycho.bundle and the following build configuration files .mvn/extensions.xml
0
votes
1 answer

How to install polyglot on Raspberry Pi? - problems with compatibility

I want to install this on my Raspberry Pi 2 (Raspbian): http://polyglot.readthedocs.org/en/latest/Installation.html Unfortunately, when I did sudo pip install polyglot I got the following error: pi@raspberrypi:~ $ sudo pip install -U…
Defozo
  • 2,946
  • 6
  • 32
  • 51
0
votes
1 answer

How to install Polyglot on Windows?

When trying to run my server in python I got the following error: D:\WebServ 2\httpd>python server.py Traceback (most recent call last): File "server.py", line 7, in from word2vec import transform_text, getKthNeighbour,…
Defozo
  • 2,946
  • 6
  • 32
  • 51
0
votes
1 answer

Implicitly convert groovy type to pass to a fixed non-groovy method

I am writing a scala application which loads up Groovy "plugin" classes at runtime. Once the plugins are loaded, standard scala types (like List and Option) are passed into them for processing. Groovy naturally doesn't have syntactic sugar for scala…
rmin
  • 1,018
  • 1
  • 9
  • 18
0
votes
2 answers

Documentation for Tesla polyglot?

I stumbled over Tesla Polyglot for Maven, but I can't find documentation, is there one?
kutschkem
  • 7,826
  • 3
  • 21
  • 56
0
votes
1 answer

How to write a file that is both valid ruby syntax and valid YAML syntax

In order to have only a single point of configuration for my app I need to make a YAML config file that is also valid ruby code. I.e. a mixed syntax file that can be parsed as YAML and parsed as ruby. My application is a suite of processes managed…
meesern
  • 2,518
  • 27
  • 29
0
votes
3 answers

Integrate applications using multiple programming languages into a Java application

Is there an open source application that could integrate applications using multiple programming languages into a Java application?
zt