Examples of using Grapacc

Slides:



Advertisements
Similar presentations
A complete citation, notecard, and outlining tool
Advertisements

Spelling Correction for Search Engine Queries Bruno Martins, Mario J. Silva In Proceedings of EsTAL-04, España for Natural Language Processing Presenter:
Title Goes Here Title Goes Here Title Goes Here Title Goes Title Goes Her Presenters go here Medical University of South Carolina, Charleston, SC This.
Lex -- a Lexical Analyzer Generator (by M.E. Lesk and Eric. Schmidt) –Given tokens specified as regular expressions, Lex automatically generates a routine.
10/24/2010 Distributed Software Development. 10/24/2010 Content Recommendation and Reuse Current state – Beta Prototype Hamid Riaz, Loredana Baračić.
Chapter 26. Copyright 2003, Paradigm Publishing Inc. CHAPTER 26 BACKNEXTEND 26-2 LINKS TO OBJECTIVES Create a Form Template Create a Form Template Fill.
PIM Platform Free text search. When you type in the search field a suggestion tool helps you to find a concept from the ontology.
Lesson 8: Creating a Memorandum and a Press Release.
Spreadsheets and Non- Spatial Databases Unit 4: Module 15, Lecture 2- Advanced Microsoft Excel.
Project topics Projects are due till the end of May Choose one of these topics or think of something else you’d like to code and send me the details (so.
You have just been given a CD that contains MapInfo format data layers of parcels, streets, and target zones. Your supervisor asks you to take a look at.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Word Project 2 Creating a Research Paper.
Computational Biology, Part 2 Representing and Finding Sequence Features using Consensus Sequences Robert F. Murphy Copyright  All rights reserved.
Lecture 6 Desktop Publishing III – Presentation Software Introduction to Information Technology With thanks to Dr. A. Zhang, Dr. Haipeng Guo, and Dr. David.
Welcome to the NARA Web-Tour.
Inserting Photos and Maps into Solid Waste Management Plans Zender Environmental Health and Research Group.
Lesson 4 MICROSOFT EXCEL PART 1 by Nguyễn Thanh Tùng Web:
Copyright 2003, Paradigm Publishing Inc. CHAPTER 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Table Wizard Spell Check Find Data Find and Replace Data Find and.
WEB FORM DESIGN. Creating forms for a web page For your web project you have to design a form for inclusion on your web site (the form information should.
Input and Output in Java Monday, February 10, 2014 Nancy L. Harris.
Marie-Laure Hoffmann Janvier  Students/ teachers work on a project together.  It is easier to access than sending s back and forth. It.
David Streader Computer Science Victoria University of Wellington Copyright: David Streader, Victoria University of Wellington File handeling and Scanning.
Unit 2, Lesson 4 Using Auto Features in Word. Objectives Check and correct spelling. Check and correct spelling. Check and correct grammar. Check and.
VIM  This is the text editor you will use on the workstation.  You can also edit the text files under windows environment and upload it to the workstation.
How to Create a Document in Google Drive By Tressa Beckler.
Objectives Analyse data copied from database. Create graphs using data from spreadsheets. See how graphs can be used to answer questions.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Online Surveys Jacqui James and Malcolm Roberts School of Education.
Computers in the Library A database application. Input and Output Devices Input Keyboard Mouse Scanner / light pen Output VDU / screen / monitor Printer.
Unix Environment Input Output 2  List Content (ls) ◦ ls (list current directory) ◦ ls –all (include hidden files/folders)  Make directory (mkdir) ◦
1 Compiler Design (40-414)  Main Text Book: Compilers: Principles, Techniques & Tools, 2 nd ed., Aho, Lam, Sethi, and Ullman, 2007  Evaluation:  Midterm.
MCL - 'route map' for demo1 ‘ ROUTE MAP’ MCL- demo 1. Project definition 2. ‘Main’ program definition 3. Programme 1 definition - ‘Price check’ 4. Simulator.
Online Surveys Jacqui James Malcolm Roberts School of Education.
WEB FORM DESIGN. Creating forms for a web page For your web project you have to design a form for inclusion on your web site (the form information should.
SDL Trados Studio 2014 Getting Started. Components of a CAT Tool Translation Memory Terminology Management Alignment – transforming previously translated.
PestPac Software. Leads The Leads Module allows you to track all of your pending sales for your company from the first contact to the close. By the end.
Scanner as an iterator Several classes in the Java standard class library Are iterators Actually, the Scanner class is an iterator  The hasNext returns.
File Input & Output Sections Outcomes  Know the difference between files and streams  Use a Scanner to read from a file  add “throws” annotations.
David Streader Computer Science Victoria University of Wellington Copyright: David Streader, Victoria University of Wellington File handeling and Scanning.
 Linking to a school website page  Linking to a class blog  Linking to student writing  Giving instructions to students.
Chapter 9 Introduction to Arrays Fundamentals of Java.
Lesson 17 Mail Merge. Overview Create a main document. Create a data source. Insert merge fields into a main document. Perform a mail merge. Use data.
Chapter 10 Creating a Template for an Online Form Microsoft Word 2013.
Quote It! Overview July 2011 Speak to slide /26/11 1.
Microsoft Word Illustrated
Java Arrays and ArrayLists COMP T1 #5
Compiler Design (40-414) Main Text Book:
Chapter A - Getting Started with Dreamweaver MX 2004
-by Nisarg Vasavada (Compiled*)
Python I/O.
3 10 A B 0.25 C 1 2 D 25% 7 20 E 20% F 0.35 G H 0.2 To edit presentation: change text in shapes, select all shapes by clicking on shape and pressing CTRL.
Input and Output in Java
<<Project Name>>
Step 1: Search “Microsoft 365” on google
To do list: Step 1: Find a GOOD source from OPAC, Mackinvia, or the Texquest resources (academic one file, General One File, Research in context, and.
How to create Twitter account on the web
Project 1 General Approach.
Input and Output in Java
Entering the Task List Dr. George.
Input and Output in Java
Microsoft Excel 2007 – Level 1
To do list: Step 1: Find a GOOD source from OPAC, Mackinvia, or the Texquest resources (academic one file, General One File, Research in context, and.
Creating Additional Input Items
Complete the spreadsheet with the table headings
LOGO 2019 General year-end summary/New Year's plan/Work Report Demo Z.
Using Google Cloud Search
Dependency Architecture
Complete the spreadsheet with the table headings
Personal Annual Summary CLICK TO ADD UP TITLE HERE
Presentation transcript:

Examples of using Grapacc

Demo 1 Given a text file, use Scanner object to read tokens in that text file: Using following objects: File, Scanner And control: while()

Developer filling phase Developer input objects and while control. Each task should be enclosed in one method as in example.

Code Recommendation phase Developer press Ctrl + Space to call code completion tool. Based on the context of objects and controls, Grapacc will suggest relevant patterns

Code completion phases After Developer choosing the most relevant pattern and pressing Enter, Grapacc will automatically fill additional code into corresponding location in the program.Developer will count number of tokens filled by himself and by Grapacc (or copy from Google without change if he uses Google Code Search). # tokens filled by developer: (File, f, new, File, Scanner, sc, while) = 7 # tokens filled by Grapacc: (new, Scanner, f, sc,hasNext, sc,Next) = 6

Demo 2 Given an ArrayList, read all of its element using iterator: Using following objects: ArrayList, Iterator And control: for()

Developer filling phase

Code Recommendation phase

Code completion phases # tokens filled by developer: (ArrayList, arlist, for) =3 # tokens filled by Grapacc: (new, ArrayList, Iterator, it, arlist, iterator, for, it, hasNext, it, Next) = 11

Demo 3 Given an ArrayList, check if its size >0: Using following objects: ArrayList And control: if()

Developer filling phase

Code Recommendation phase

Code completion phases # tokens filled by developer: (ArrayList, arlist, if) =3 # tokens filled by Grapacc: (new, ArrayList, arlist, size) = 4

Table of counted tokens Task Use #Tokens filled by developer #Tokens filled by Grapacc #Tokens copied from Google Demo1 Grapacc 7 6 NA Developer will send Anh the summary table for each tasks.