Questions tagged [senna]

SENNA is a neural network trained software, which outputs a host of Natural Language Processing (NLP) predictions: part-of-speech (POS) tags, chunking (CHK), name entity recognition (NER), semantic role labeling (SRL) and syntactic parsing (PSG).

SENNA is a software distributed under a non-commercial license, which outputs a host of Natural Language Processing (NLP) predictions: part-of-speech (POS) tags, chunking (CHK), name entity recognition (NER), semantic role labeling (SRL) and syntactic parsing (PSG).

This has been developed by Collobert & Weston, as a result of their work which is described in this paper.

It is written in ANSI C and does not require external libraries.

8 questions
3
votes
1 answer

How to use senna for semantic role labelling.?

I need to compare the similarity of two sentences based on its semantic roles. I found that senna is suitable for SRl task. I did chunking using senna based on [this code] (http://pydoc.net/Python/nltk/2.0.2/nltk.tag.senna/). But not able to use it…
user3568044
  • 163
  • 1
  • 2
  • 13
1
vote
0 answers

Senna Semantic Role Labellar in Python

I want to measure the similarity of the two sentence using Senna Semantic Role Labellar. I have read articles in the internet about it but couldn't implement and use it in python.As I am Learning about Senna SRL, Please suggest me some good…
1
vote
1 answer

python run .exe app with argument

If i write this in command prompt: "senna-win32.exe < input.txt >output.txt" it works perfect but i need to do this from python code, how is this possible? I have tried: import subprocess subprocess.call([pathToExe, "input.txt" ,…
scorpion5211
  • 1,020
  • 2
  • 13
  • 33
0
votes
0 answers

How to access dictionary elements value from a Dictionary(Dictionary elements are dictionary itself)

I have tokenized sentences from texts. Now on each tokenized sentences, I applied Senna Semantic Role Labeling. annotation.getAnnotations("He created the Robot")['srl'] is the function that returns a dictionary like [{'A1': 'the Robot', 'A0': 'He',…
0
votes
1 answer

list index out of range error when tag_sents() method of NLTK SennaTagger is called

IndexError: list index out of range when tag_sents() method of NLTK SennaTagger(http://www.nltk.org/_modules/nltk/tag/senna.html) is called. A list of sentences is given as the input to tag_sentsmethod. A senna executable file is needed to run the…
Shanika Ediriweera
  • 1,975
  • 2
  • 24
  • 31
0
votes
1 answer

IOError with subprocess

I am trying to use SENNA with python. I get the following IOError: Traceback (most recent call last): File "C:\Python27\senna_test.py", line 18, in tagged = StringIO(p.communicate(sentence)[0]) File "C:\Python27\lib\subprocess.py",…
Anu
  • 119
  • 2
  • 11
0
votes
1 answer

Decrypting SENNA Chunk, SRL and Parser Output

Senna is a NLP tool built using neural nets and it's able to do: POS tagging NER tagging Chunk tagging Semantic Role Label tagging and Parsing After downloading the pre-compiled package from http://ml.nec-labs.com/senna/download.html I ran the…
alvas
  • 115,346
  • 109
  • 446
  • 738
0
votes
2 answers

The NLP Tagger called SENNA

I have a question about the nlp tagger called SENNA, that is developed by Collbert and his colleagues based on their paper: Natural Language Processing (almost) from Scratch. Does SENNA (it's code which available at this address:…
Shima
  • 1
  • 2