[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Organizing the questions
|
Dear Jakob,
The attached file is a python code that can manage (group) the questions based on keywords. Now I use one keyword named "speed", but we can define more.
So we can make a webpage for each keyword and show the related Q/A there.
Can a code like this be helpful?
If you tell me which type of grouping and managing you desire, I can make a related code.
Bests,
Reihaneh
There is no code for this and neither is there a list of ready-made keywords. My question on automation was purely out of curiosity.
Your original proposal "I can re-organize the questions based on the topic from the very past up to now" seemed to imply a plan on how to tackle the problem.
regards,
Jakob
Dear Jakob,
That would be nice. I use Python for coding. Is there any ready code to use, or should I write it myself? Also, I need to know about keywords.
I do not have a strong background in text analysis of Python, but as a coder, I like to learn and do more.
Bests,
Reihaneh
Hello,
For the less frequently asked questions, my aim is to have them answered somewhere in the documentation so that they can be answered with a single link (and maybe show up in a search engine).
That being said, I'd be happy to get help on extending the FAQ and it might also be good to create an LFAQ page (less frequently asked questions).
regards,
Jakob
Dear Jakob,
One can see some duplicated questions in this group due to the lack of any platform containing all the previous questions.
If gathering and organizing the previous Q/A is helpful for the SUMO, I will be more than happy to help. I can re-organize the questions based on the topic from the very past up to now. Then, add these to the SUMO website based on the topic of the question.
Let me know if organizing the questions is helpful for SUMO,
Bests,
Reihaneh
Postdoc of transportation engineering Department, IUT
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from time import sleep, strftime
from random import randint
import pandas as pd
webdriver= webdriver.Chrome(executable_path="/home/kouhi/kouhi-company/idea1/python-code/chromedriver")
### here you should use your own chromedriver address. first you have to download it
sleep(2)
keyword=['speed']
for i in range (2,25):
webdriver.get('https://www.eclipse.org/lists/sumo-user/maillist.html')
sleep(5)
try:
check='/html/body/main/div/div/table[2]/tbody/tr[%d]/td[2]/b/a' %(i)
webdriver.find_element_by_xpath(check).click()
sleep(5)
mytext = webdriver.find_element_by_xpath('/html/body/main/div/div/div')
string=mytext.text
string=string.encode('ascii','ignore')
print(string)
for word in keyword:
if word in string:
print ("the hashtag is",word)
except:
print("not done",i)