473,382 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

how to loop inside NLTK Arabic Parser grammar

I am trying to develop Arabic parser by using the NLTK tool in Python
I am using the groucho grammar but whenever I try to loop or to access this grammar an error message appears saying that it is not iterable,so is there is any way to access it or to loop inside it ?
May 15 '13 #1
1 1696
bvdet
2,851 Expert Mod 2GB
What is "groucho grammer"? Can you post your code that causes the error and the full error traceback?
May 16 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Karalius, Joseph | last post by:
Can anyone explain what is happening here? I haven't found any useful info on Google yet. Thanks in advance. mmagnet:/home/jkaralius/src/zopeplone/Python-2.3.5 # make gcc -pthread -c...
2
by: Aggelos | last post by:
Hi Guys!!! Thanks in advance for any kind of help about this problem. The problem: Acces Database One Table 'Orders' and second 'OrderItems' I want to export in txt file using FSO and...
9
by: wreed | last post by:
I have a for loop seen below.... var the_form = document.getElementById(formName); for(var i=0; i<the_form.length; i++) { var temp = the_form.elements.type; if (temp == "radio") { for (x =...
1
by: cvalarmathi | last post by:
Hi ! How to write foreach loop within for loop in php.Plz anybody know the answer reply me.Is it possible? Thanks.
3
by: geebanga88 | last post by:
Hi, i have a menu program, when i select option C and after going back to the menu, if i enter a vaild option it will say its invalid. However if i select option a or b and then enter an invalid...
2
by: innova | last post by:
Hi, I am using a for loop inside xsl as follows, <SCRIPT LANGUAGE="JavaScript"> function xmlParse() { source = document.XMLDocument; xNode =...
3
by: Amie | last post by:
Hi, Is it possible to have a for loop within an xml template?
5
by: sgurukrupagmailcom | last post by:
Hi, I haven't come accross an elegant solution to a design problem that I show below. Have a look at the piece of code here: class Exc { Exc () { System.out.println ("Haribol"); }
2
by: virtualweb | last post by:
Hello: I got stuck again.... In my Hotel Reservation script all reservations are saved in a flat file which name is the room number. (example: Data/room1-101.dat). Reservations are saved in...
8
by: santhanalakshmi | last post by:
Hi, Please see my code: !c:/perl/bin/perl use CGI qw(:all); $empid=param('empid'); print "Content-type: text/html\n\n"; print "<body bgcolor=\"#ffcccc\">";
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.