Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1027395 // webScrape1000MostCommonEnglishWords

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (6193L/42K).

1  
svoid webScrape1000MostCommonEnglishWords() {
2  
  S html = webScrape("https://1000mostcommonwords.com/1000-most-common-english-words/");
3  
  TableFinder tf = new(html);
4  
  print("Have table with " + nRows(tf.rows());
5  
  LS l = nempties(getColumn(2, dropFirst(tf.rows()));
6  
  if (l(l) == 1000)
7  
    replaceMechList("1000 most common English words", l);
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027395
Snippet name: webScrape1000MostCommonEnglishWords
Eternal ID of this version: #1027395/1
Text MD5: 308bf33ad206547218bec47b8397ae72
Transpilation MD5: b9080a07fc9f07132ce9a8b128862757
Author: stefan
Category: javax / a.i. / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-17 13:44:06
Source code size: 352 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 218 / 285
Referenced in: [show references]