Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Define Variable
Post: RE: Define Variable

(Nov-02-2022, 09:12 PM)deanhystad Wrote: This is an error: if value < 5000: tax == 0tax == 0 is doing a comparison, not an assignment. It is saying "Is tax equal to 0?" You don't do anythin...
xinyulon General Coding Help 5 1,229 Nov-02-2022, 09:45 PM
    Thread: Define Variable
Post: Define Variable

Hi, I have been wondering for long that what's is the difference between the two definitions of "Tax =0"? One is "tax = 0" defined at the foremost; the second one is under the first if conditional s...
xinyulon General Coding Help 5 1,229 Nov-02-2022, 12:34 PM
    Thread: NLP: exercise with Stanza
Post: RE: NLP: exercise with Stanza

(May-09-2022, 11:27 AM)Larz60+ Wrote: I am not promising anything here, but wanted to mention that I have used NLTK quite a bit, but never played with stanza. After reading a bit, i decided that I'l...
xinyulon General Coding Help 2 1,338 May-09-2022, 07:40 PM
    Thread: NLP: exercise with Stanza
Post: NLP: exercise with Stanza

Here is the question: Get sentences from Stanza Document objects. The directory data contains a file named docs.pkl, which contains 10 articles from the Estonian Wikipedia that have been processed ...
xinyulon General Coding Help 2 1,338 May-09-2022, 08:44 AM
    Thread: Please help NLP: Stanza
Post: Please help NLP: Stanza

Here is the question: The directory data contains 10 articles from the Estonian Wikipedia, whose filenames follow the pattern et_wiki_X.txt, in which X stands for a number that identifies the article...
xinyulon Homework 0 1,242 May-08-2022, 09:53 PM
    Thread: Regular Expression for matching words
Post: Regular Expression for matching words

Hello. I'm really not sure about the defined re pattern for this exercise, especially how to define the string words between == on both sides in order to remove it as a whole header. Could you please ...
xinyulon General Coding Help 1 2,165 Mar-09-2022, 09:45 PM
    Thread: How to store the resulting Doc objects into a list named A
Post: How to store the resulting Doc objects into a list...

Hey folks. I am a real new beginner for python and NLP. I am stuck with this question: Store the resulting Doc objects into a list name A" Is it possible to store it by using "A=list(doc)". How coul...
xinyulon General Coding Help 1 1,894 Mar-08-2022, 10:25 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020