From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Explore the Word Frequency Analyzer page

Explore the Word Frequency Analyzer page

Let's see how accurate the copilot summary is for this application. This is a one pager contained in this index.html file. I have run it using a local development server so you can see the UI here. The way this works is you start by selecting a text file by clicking on choose file. In this case I'm navigating out to my application folder and I'm picking one of these text files. Then Then once I've done that, I click on the Analyze button and I get a table with each word in the document and the count of each word. Now, I don't want to see the words the, and to, and a, and those words, so that's what this Ignore text box is for. I can type those in and so on. Click on Analyze and now I get a new analysis of the document, ignoring the words I'm not interested in. So that's the app, we choose a file, provide a list of words to ignore, click the Analyze button and the word count is shown in a table. I'd say the Copilot summary was very accurate. How did I run this? Let's go back to Visual…

Contents