Jump to content

Kagami Tsukino

Member
  • Posts

    81
  • Joined

  • Last visited

Everything posted by Kagami Tsukino

  1. Ahh ok Thanks that fix it had to install "pip install https://github.com/andreasvc/readability/tarball/master" instead and it work now.
  2. i just install from anaconda promp "pip install readability-lxml" it should be the Jul 3, 2020 version
  3. I having issue with my module 'readability' has no attribute 'getmeasures'. I can't run terminal as it just open back visual studio. I don't understand want going on one person say "bad news is you're treatnig it as a method already results = readability.getmeasures(text, lang='en')" and i still have no idea what this mean. when type the .txt file it just given an exception thrown: the copy detail is from PIL import Image from wordcloud import WordCloud, STOPWORDS, ImageColorGenerator import matplotlib.pyplot as plt import readability #Function to get readability score def readability_score(filename): with open(filename) as f: text=f.read() results = readability.getmeasures(text, lang='en') print(results['readability grades']['FleschReadingEase']) #Function to generate word cloud def word_cloud(myStr): wordcloud = WordCloud(max_font_size=50, max_words=100, background_color="white").generate(myStr) plt.figure() plt.imshow(wordcloud, interpolation="bilinear") plt.axis("off") plt.show() #Function for word stats def word_stats(filename): with open(filename) as f: words=f.read().split() new_words=[] #List containing all the words for word in words: word=word.replace(',','') nword=word.strip('.') nword = word.strip('\"') new_words.append(nword) myDict={} #Dictionary to store the frequency of each word for nword in new_words: myDict[nword]=new_words.count(nword) sorted_dict={k: v for k, v in sorted(myDict.items(), key=lambda item: item[1],reverse=True)} mystr='' #String to store words so it can be used to generate a word cloud for key in sorted_dict.keys(): if sorted_dict[key]>2: mystr+=key+" " print(key,sorted_dict[key]) #Finding number of sentences with open(filename) as f: data = f.read() total_sentences = data.count('.') total_spaces=data.count(' ') print("There are total of "+str(len(new_words))+" words and "+str(total_sentences)+" sentences.") #Finding average letters per word sum=0 for i in new_words: sum+=len(i) #Finding average words per sentence with open(filename) as f: data=f.read().split('.') sum1=0 for sentence in data: spaces=sentence.count(' ') sum1+=(spaces-1) print("There are about " + str(round(sum / len(new_words), 4)) + " letters per word and "+str(round(sum1/total_sentences,4))+" words per sentence.") print("There are "+str(total_spaces)+" non empty characters.") #Generating word_cloud word_cloud(mystr) #Function to get longest words def longest_words(filename): with open(filename, 'r') as f: words = f.read().split() new_words = [] # List containing all the longest words for word in words: word = word.replace(',', '') nword = word.strip('.') nword=word.strip('\"') new_words.append(nword) words_sorted=list(sorted(new_words,key=len)) print('longest words!') for i in range(len(words_sorted)-1,len(words_sorted)-11,-1): print(words_sorted[i]+": "+str(len(words_sorted[i]))+" letters") #Main Function def main(): #List containing all the filenames entered by user files=[] # filename = open('obama.txt') filename=input(("Enter name of files one at a time. when ready to compile, enter 'done': ")) if filename!='done': readability_score(filename) while filename!='done': files.append(filename) filename = input(("Enter name of files one at a time. when ready to compile, enter 'done': ")) if filename != 'done': readability_score(filename) for file in files: print(file+" analysis :") longest_words(file) word_stats(file) main()
  4. Window 10? Setting>>System>>Display>>Click which display as main>> Scroll down to the box"Make This my Main Display". Nividia- Nividia Control Panel>>Display>>Set up Multiple Display
  5. Does anyone know what the issue on why I can't run my JSP file? I created a new project and new jsp and it won't open. Even the output didn't run. I follow many youtube instruction and it still doesn't want to open. 2020-02-11_20-45-55.mp4
  6. Hey does anyone know a good 2nd screen for laptop. My laptop right now is a MSI GL62 15.6 inch. I would like a second screen but have no idea what would be good. My first option was slidenjoy but since a huge scamming incident I have no idea what the best next thing. I mostly carry it around and worry about damage screen so if anyone can recommend me a good screen. What it will be use for is programming, and work productivity. I will use the main monitor for gaming. Also I don't want a triangle mount since the desk I normally use does not have enough space.
  7. You might as well put an extra $30 more for a RX 5700 rather than a 5600XT as the 5700 has a higher clock speed and more memory to work with. https://pcpartpicker.com/product/tt7p99/xfx-radeon-rx-5700-8-gb-dd-ultra-video-card-rx-57xl8lbd6 Also Borderland 3 is highly used with AMD side. As for new graphic card won't come out till like late August.
  8. What you going to be using it for? If you want to wait the Navi 23 is going to be cheaper than what Nivida giving out but if your gaming Nivida has more supported driver and work well with triple A games
  9. Depend What socket your looking for and what generation unless u have a way to update bios.
  10. From reading this form back in Feb. 21, 2018 and reading my email just today. I wonder is it a scam? Can anyone tell me. I also jump on the hype train and now it come to a decision. ( ) Here their YouTube about the product but it listed unlisted on YouTube. I don't know why.
  11. I want to know is it possible to use Seagate Ironwolf Pro over Barracuda Pro since of the price different. Ironwolf pro is much cheaper than Barracuda Pro. I want to know would there be any loss or issue I might run into if I use it for video editing. Would I suffer data loss or data transfer not fast enough. If possible does the Pro out weight the Con. *I chose Seagate over WD cause Seagate would honor their warranty unlike WD with their excuse of "oh this is an OEM and we don't fix them". Amazon, newegg. bestbuy, B&H and even WD website all sell OEM the only place that sell retail is Microcenter. (I know cause i did deep research with WD model number and found many store just sell OEM). ** I know Backblaze report that seagate has higher failure rate but I rather chose someone with their service if thing goes bad. Here a picture of pcpartpicker on Seagate pro Drive shorted by price.
  12. https://www.newegg.com/p/274-000A-01D44?item=9SIABT19WZ6237&source=region&nm_mc=knc-googlemkp-pc&cm_mmc=knc-googlemkp-pc-_-pla-dealsaday-_-processors+-+desktops-_-9SIABT19WZ6237&gclid=Cj0KCQjw2efrBRD3ARIsAEnt0ei7WMxqoxKquL_4hBxpE-b1cpkhs8hex8AULvaR3xiRstKdxkq3108aAoEqEALw_wcB&gclsrc=aw.ds
  13. So I have a Monitor problem I think. every so often my monitor just has a grey tv static screen after like 15 second it turns green and fixes itself. I can't get a video of what happening since the static happens at a random time and fix itself before I could grab my phone to record it. My second display is a TV screen (don't judge) but it doesn't have any issue when my primary monitor does the weird glitch. I also try using google but there no result on this type of problem and wonder if anyone might know what type of problem this is. *This only happens with chrome. When I play games there no issue. I turn off Hardware acceleration when available in chrome. I also try turning it on. No different My monitor is an Asus VS247H-P got it for like 3-4 year ago. Graphic card is XFX Radeon RX 580 8 GB GTS Black Edition OC+ Video Card Graphic Driver is 19.5.2 But this monitor has a Display port adapter to HDMI. This is the example Static screen for 10 seconds then 3-second green screen after that it back to normal.
  14. Does anyone know what or how to deal with the C drive and CPU when I do anything like just watching youtube, playing a game or anything else? It loading something but what does my C drive and CPU and there is an occasion where it just a Black screen of death where the video card gets turned off. the CPU even is new that I just bought this black Friday of 2018. Mobo is an Asus Tuf z390. I at a lost when I try doing. I scan my computer for malware and there nothing detected. using ESET
  15. Try AccuBattery and see the battery health have an issue if there a defective battery in the S9. Also, see your CPU problem since it been heating up with a CPU Monitor.
  16. I am trying to get a decent phone and not over the top expensive phone that some feature I will not use. I been keeping my eye out on these two phone as the around $600 value price. I have some question with Bluetooth as I do not know why some site say Bluetooth 5.0 LE and 5.0. There also some question like is there a different between the feature. I saw the specs on kimovil.com, and gsmarena.com and still got confuse. I also want to know which is better in performance, specs, and software. I don't want to wait till fall for any other new phone.
  17. Does anyone know if having an SSD with a 91% life good or bad? I am using it as my OS, and I keep getting crash. I asked some advice from my friend and told me to check my SSD and which I use Crystal Disk Info. I also have a crash log if anyone knows what happens. PC crash :WhoCrashedOutput.htm
  18. I took out the r9 270 as u said and still crash. Also, the problem is still the same error and dump files.
  19. Hey. I hope anyone knows what causing me to crash. I read some other form saying use WhoCrashed from resplendence but after reading the report, I have no clue what these are or causing. I hope someone with more knowledge on programs and software to know what these means. ______________________________________________________________ WhoCrashed File below: (don't think need any program beside like chrome to open) WhoCrashedOutput.htm PC specs: System CPU AMD FX-8320E Vishera 8-Core 3.2GHz (4.0GHz Turbo) Socket AM3+ 95W Motherboard Fatal1ty 990FX Killer RAM HyperX FURY 16GB (2 x 8GB) 240-Pin DDR3 SDRAM DDR3 1866 Desktop Memory Model GPU XFX GTS Black Core Edition Radeon RX 580, R9 290 founder Case ENERMAX COENUS GUNMETAL GREY ECA3290A-G ATX MID TOWER COMPUTER CASE Storage WD Black 1TB, Seagate 500GB SATA 5400RPM 2.5in, Crucial M500 240GB, PNY 1311 240GB PSU Thermaltake 750W Gold Display(s) Vizio TV Screen, Asus VS247H-P Cooling Corsair 100i GTX Keyboard Corsair K70 RGB Mouse EUASOO Mouse Mice Z-7900 4000 DPI Metal Base MMO/FPS High Precision Optical Gaming Mouse Operating System Window 10
  20. Help my computer keep crashing and I do not know what to do. I could only run cloud gate once than the second time could not run it at all. **When my friend brought the pc to his house it was able to run all 6 scene of Stormblood FF XIV extreme. I tested my outlet and it running normally with 120v I even plug it into my UPS and it still does not help. I also plug it into another wall and still does not work. I can not run Sky Dive or anything higher. My PC has been newly changed with new part basically ----FX-8320 to an FX-8320E ---Gtx 970 to RX 580 ---Corsair 4x4GB to Kingston 2x8GB ---Mother is newly swapped out PSU is new Thermaltake 750 Gold Window 10 x64 *** I could have gotten a new PC but I keep thinking of it just one part and not all at once that keep dying on me. PC Spec Error in Event Viewer Bios Version PSU tester Video how it crash
  21. I want to know is it possible to use higher speed ram on a motherboard when it spec doesn't say anything out it. My motherboard is the ASRock ASRock Fatal1ty Gaming Fatal1ty 990FX. It memory Standard is DDR3 2450*(O.C.)/ 2100*/ 1600/ 1333/ 1066. I want to know if I can use a 2133 or 1866. In questioning about the asterisk to the memory, I have no clue since it does not explain much on the site.
  22. Would love to but somehow my window 7 key does not let me update anything anymore. I am stuck on non-upgradable. It keeps saying searching or update and it stays there for 5 hours straight. I left the computer on the whole day and it could not find any upgrade.
  23. I keep updating all my software and application from the device I use and every time I play a game my window 7 just reboot. My guess is window 7 fault on not being supported by the newer game. The warning from event viewer is (The driver \Driver\EtronXHCI failed to load for the device PCI\VEN_1B6F&DEV_7052&SUBSYS_70521849&REV_00\4&11e7f7e8&0&0048.) I try both versions of window 7 key the legit one and the crack version to test out if it another program fault. So I want to ask should I change my Window to window 10? Also what the best place to buy window 10? (I don't want to spend a lot on a window 10 key) I want to hear you guys on where should I purchase it. I am a bit skeptical when a window 10 key is sold for $15. (Electronic First) This is why I ask where I can buy it.
  24. Can anyone help with excel the cell block I want certain cell block smaller, but not all the cell block smaller. What I am trying to do is make cell beneath "Learning about words" smaller so that I can make it fit into a page and make the text bigger when it is printed out. I try it extracting to word and it just more of a hassle to deal with the cell problem. Does anyone know how to fix this problem? I want a fully fledged no white spot beside the top right side. Conversion Table.xlsx
  25. I don't know what going on with my PC I can't seem to get what going on. I am going out of my mind. Rockstar does not help me nor UnknownWorld from Subnautica. I Need HELP. it been about 2 week since I last sent a report to rockstar and hoping they know what the situation. I have a Fatal1ty 990FX Killer and ASUS PCE-AC56. I download the latest driver. I had reformated my C drive. I also have a gtx 970 and all latest drive. Window 7 (could not find any driver update through control panel) * This still happen before I format my C drive. This is what happening to my PC My Event Viewer said (The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.[(X) Critical ]) Another said ([ ! ] Warning) (The driver \Driver\WUDFRd failed to load for the device USB\VID_04E8&PID_6860\32085b0cf00a519b.)
×