Hello and welcome to another tutorial on Java, In this tutorial we’ll be creating a Voice command application using Java and Sphinx4 Speech Recognition Library for Java.
If you are new to this Voice Command term, there are many apps that serve as an example in reality. If you are an Android user, you must have used the Google App where you speak “Ok Google” and it listens to your command and if you say something like “open google”, it’ll automatically launch Chrome and open Google.com on it.
Continue reading “Make your own Voice Command App using Java and Sphinx4”
In this tutorial we’ll be creating a small java command line application to extract email addresses from websites, a program like this comes in handy for people who are into advertising and stuff.
So before we jump right into programming, lets think about the possible steps of the program.
Continue reading “Harvesting Email Addresses from a Website using Java”
This tutorial is all about loops, We’ll be taking a look at the types of loops, their syntax, usage and how to implement them. So lets start, Continue reading “Introduction to Loops with Java”
Welcome to the 2nd part of my JavaFX Series, In this tutorial we will be creating a Hello World program. Before we go on to the coding part, Lets understand some basic concepts.
Continue reading “JavaFX Series (PART 2) – Creating a Hello World Application”
Welcome to Part 1 of my JavaFX Series in which we will be getting familiar with JavaFX and how to develop GUI Applications with it.
Continue reading “JavaFX Series (PART 1) – Setting up NetBeans for JavaFX Development”
We, Humans, use a language to communicate with others. A language that another human understands. Computers get fed with instructions which they have to execute but these instructions belong to a language that a computer understands, Hence Programming is a medium of communication between a computer and its user. Programming allows a user to input a set of instructions that belongs to the language that a computer understands in turn the computer executes the instructions to produce some useful results. Example of programming languages are C#, Java, Python, PHP.
This article has been written not to explain programming concepts but to give beginners a heads up when they start new with Programming because many beginners think that they can learn programming in a breeze which is awfully untrue.
Continue reading “Neophyte’s Path to Programming”
What is Merge Sort?
t is a sorting algorithm which uses comparison operator (=<) to choose which items of the 2 should be placed first, In fact it uses a well known method of “Divide and Conquer” to perform it’s task.
Since the term MergeSort has 2 parts:
So I’ll be explaining each part first and then will explain as whole In this way you’ll under this better.
Continue reading “Introduction to Merge Sort”
In python strings are represented by enclosing them between
1) Single Quote ‘ ‘
2) Double Quote ” “
3) Triple Quote ”’ ”’
Those two are basically python strings. We will discuss Triple Quote in later lessons as they are used mainly for description.
In this tutorial we will discuss:
1) String Indexing
2) Slicing Strings
3) String Concantation
4) String Formatting
Continue reading “Intro to Python Strings”
Python comes built-in with many functions, some of those functions allow us to read a file and write to a file. The step involved in reading a file is to open it and afterwards read it’s contents, then either store it in a variable or print it directly.
To open a file in python we use the function open() , The syntax for open function is:
file object = open(file_name [, access_mode][, buffering])
Let me explain the parameters:
1) file_name is the name/location of the file that you want to open
2) access_mode is the way how you want the file either open it in read mode only or write mode only or even both.
Continue reading “Reading and Writing Files in Python – PyStarter”