The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> Python Programming
|
Python Vs Java,NLP,Netbeans,Crawler Agent
Discuss Python Vs Java,NLP,Netbeans,Crawler Agent in the Python Programming forum on Dev Shed. Python Vs Java,NLP,Netbeans,Crawler Agent Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

February 5th, 2013, 10:09 PM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 2
Time spent in forums: 8 m 32 sec
Reputation Power: 0
|
|
|
Python Vs Java,NLP,Netbeans,Crawler Agent
Can netbeans support python?
I am a java programmer with 7 years of experiences,how difficult is it to learn python,what are some of the resources support this?
natural language toolkit how can I install this package into netbeans,how can I actually install this,because I am running windows
What are some of the packages that supports the uses of crawler agent for the world wide web?
Below is the quote of my project,any related news and links are appreciated?
Quote: | crawl hungrygowhere, openrice, tripadvisor, yelp for restaurant reviews run NLTK POS tagging based on POS tags, extract the subject/nouns of each review sentence to identify what people are talking about classify the sentiments of the sentence, using adjectives/adverbs/verbs in the nouns you are expected to label 1000 review sentence manually label the sentiments tag the feature then run your classifier on the 1000 review sentences in a 10-fold cross validation set-up |
|

February 6th, 2013, 03:04 AM
|
 |
Contributing User
|
|
Join Date: Nov 2012
Location: Iran / France
|
|
I have may an answer for the first two questions:
Quote: | Originally Posted by alvin567 Can netbeans support python? | http://wiki.netbeans.org/Python#Python_support_in_NetBeans
Quote: | Originally Posted by alvin567 how difficult is it to learn python,what are some of the resources support this? | Normally you shouldn't have difficulty if you start learning by using appropriate resources. Just as an example ( among many others) I started learning by reading this book:
http://www.amazon.com/Quick-Python-Book-Second/dp/193518220X/ref=sr_1_4?s=books&ie=UTF8&qid=1360141097&sr=1-4&keywords=python
Then I read the online python tutorial
http://docs.python.org/release/3.2.3/tutorial/index.html
After this normally you will have the basics, after that all depends on which modules you're going to work (Python includes a huge amount of modules) in your project. Based on that you will need to read the corresponding module documentation. As a result I don't see any difficulty, it's just a matter of time and method.
|

February 6th, 2013, 03:34 PM
|
 |
Contributing User
|
|
|
|
You can also go with Jython, this way you can use all the Java libraries that you are familiar with. With Jython you can get familiar with the Python syntax.
Here is a simple example code of Jython ...
Code:
""" jy_List_test2.py
a simple demonstration of populating a swing JList widget
with a Python list object
get the free Jython installer
jython_installer-2.7a2.jar
from
http://www.jython.org/downloads.html
to install Jython on Windows double-click the .jar installer
this creates a folder jython2.7a2
to run on Windows you can use (Jython.bat is in the above folder):
Jython.bat jy_List_test2.py
"""
# pawt will find module swing on your computer
from pawt import swing
# create a Python list object of names
text = 'Fred Ann Bob Joe Moe Zack Paul Egon Helga Jean Roger Beth'
mylist = text.split()
# populate the Java list widget with the Python list object
jlist = swing.JList(mylist)
# adds scrolling to the Java list
swing_list = swing.JScrollPane(jlist)
# a simple way to show/test the list widget
swing.test(swing_list, size=(180, 200))
Since Jython27 uses Python27 syntax, I would recommend the "Dive into Python" free book at:
http://www.diveintopython.net/
There used to be Jython support on NetBeans (somewhat older version). I simply use a general Editor like ConTEXT to run Python and Jython code from.
__________________
Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25
Last edited by Dietrich : February 6th, 2013 at 04:07 PM.
|

February 7th, 2013, 11:23 PM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 2
Time spent in forums: 8 m 32 sec
Reputation Power: 0
|
|
|
Does the version of python matters?
What is the best editor for python for my windows environment?
How is java compared to python?
How do i install external package Natural Language Toolkit in Python?
Where can I find a crawler in python?
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|