#BlueJ class context comment0.target=BabyNames comment0.text=\r\n\ This\ is\ the\ assignment\ related\ with\ file\ reading.\ \r\n\ \r\n\ You\ will\ need\ to\ download\ the\ .CSV\ file\ that's\ linked\ from\ the\ GoogleSlides\ as\ the\ data\ is\ too\ large.\ \r\n\ \r\n\ You\ want\ NationalNames.csv\ but\ there\ is\ a\ state\ version\ as\ well\ if\ you\ are\ interested.\r\n\ \r\n\ The\ USA\ keeps\ track\ of\ trending\ names\ by\ keeping\ a\ count\ of\ all\ names\ entered\ into\ this\ database.\ Your\ job\ is\ to\ do\ the\ following\:\r\n\ \r\n\ Load\ the\ database\ and\ list\ how\ many\ names\ are\ stored\ in\ here.\r\n\ Load\ the\ names\ and\ let\ the\ user\ type\ in\ a\ name,\ it\ will\ then\ output\ the\ name,\ the\ frequency\ and\ the\ rank.\r\n\ You\ wil\ need\ to\ define\ your\ own\ object\ classes\ to\ do\ this.\r\n\ \r\n\ Extension\:\r\n\ Including\ features\ to\ browse\ for\ popular\ names.\ \r\n\ These\ will\ be\:\r\n\ List\ the\ most\ poular\ names\ from\ 1-20.\ Also\ let\ the\ user\ define\ a\ custom\ range,\ such\ as\ from\ 30-80.\r\n\ List\ the\ top\ 10\ boys\ name\ and\ the\ top\ 10\ girls\ name.\ \r\n\ Offer\ the\ user\ tp\ type\ in\ a\ letter.\ List\ all\ names\ that\ begins\ with\ the\ letter\ and\ rank\ them\ in\ order\ with\ the\ appropriate\ information.\r\n\ Use\ regular\ expressions\ to\ allow\ names\ that\ begin\ with\ a\ substring\ to\ be\ searched.\ It\ is\ fine\ to\ include\ both\ genders\ from\ this\ search.\ (Looking\ up\ regex\ will\ be\ a\ good\ start\ \:D)\r\n\ \r\n\ Challenge\:\r\n\ Include\ a\ mode\ for\ the\ user\ to\ add\ a\ name\ to\ the\ database.\ All\ they\ need\ to\ do\ is\ type\ in\ the\ name.\r\n\ Allow\ them\ to\ continue\ adding\ to\ the\ list\ and\ when\ they\ are\ finished,\ UPDATE\ the\ file.\r\n\ Note\ that\ the\ file\ has\ is\ SORTED\ by\ a\ certain\ rule.\ You\ need\ to\ maintain\ that\ rule.\r\n\ \r\n\ Helpful\ tip\:\ You\ may\ want\ to\ create\ a\ smaller\ version\ of\ the\ .csv\ file\ to\ make\ testing\ a\ bit\ easier.\ This\ applies\ for\ all\ portions\ of\ this\ task.\r\n comment1.params= comment1.target=void\ load() comment1.text=\r\n\ This\ functions\ loads\ in\ the\ .csv\ file.\r\n numComments=2