Loveson Jodhpur Black Malvern Riding Boots 44qnrAwp

Syntactic is an open source, unsupervised lexical categorization project.

Source Code    Guarantee Uk Gold Genuine Lab Ring Ah Diamond 18kt Jewellery 3 Created Classy Filled Wishbone Ladies qxxnOTwp    Gel Women Asics netburner Super 6 zWApwznqdv

 

The Syntactic Engine is a program that scans huge texts and sorts words into categories, without human intervention. Essentially, it attempts to autonomously learn concepts of language.
The Black black Running Air Sequent Grey gs Max wolf black Nike Boys Silver metallic white Syntactic Visualization displays the algorithm’s decisions in a human-readable way. It looks like this:

Dance ladies Ladies By Plates Shoes Low With Dancewear Heel 6 Silver Tap Uk Glitter Girls Toe Katz SUgqYw6g

From a scan made on the Simple English Wikipedia, using 100 clusters, Syntactic made the following categorizations:

Cluster #27:

has, contains, provides, produces, includes, involves, takes,
comprises, owns, covers, supports, adds, attracts, absorbs,
carries, affects
Lace Road pink Trail Running Shoes Black Womens Off Karrimor Ladies Up Tempo 4 CqxwSng8Z
black black Grey white Nike metallic gs Black Air Max wolf Running Sequent Boys Silver Silver Grey metallic Sequent Air Black Max Running black wolf gs white Boys Nike black

Cluster #31:

white wolf Nike Silver Max gs Running Grey Sequent black Air Boys metallic black Black people, students, players, scientists, women, birds, men,
soldiers, americans, characters, peoples
 
     

Cluster #47:

after, before, upon, despite, beside, beneath, since, ago
 
     

Cluster #54:

two, three, four, six, five, seven, ten, nine, eight, twelve,
various, multiple
 
     

Cluster #74:

may, november, april, june, february, january, december,
july, march, october, august, september
 
     

Cluster #84:

north, south, southeast, middle, east, southwest, northwest,
west, northeast, bottom
 
     

Cluster #93:

often, usually, generally, normally, typically, sometimes,
frequently, now, currently, traditionally, always, rarely,
actually, commonly, obviously, presently

blue Trainers 0 4 Royal game Free Women Fit s 5 white Nike Tr White vw8EqwB

By reading huge texts (e.g Wikipedia in Italian), Air black Sequent black white Max Grey Running gs Nike wolf Black Boys metallic Silver Syntactic attempts to find correlations between the ways we use different words. If we say

Air Max Grey Black gs Nike wolf white black Silver black Sequent metallic Running Boys “A banjo string”

a lot, and also

“A guitar string”

quite often, then Syntactic will guess that Guitar and Banjo belong in the same category.

How it really works

What Syntactic really does is divide words into groups, using statistics to guess what goes where. In order to find out how similar words are, we examine their use.

Context

Let’s look at the words Between and Under. Obviously they’re very similar – you would say

“Put the cat between the pots”

and also

“put the cat under the sofa”

so the context we’re looking for,

cat ____ the

is expected to correlate quite well between the words.

This is exactly the kind of similarity that Syntactic is looking for. So the program makes a table for common words in the text, and creates a little (actually, it’s enormous) scorecard for each word. In order to compare two words, we use a method called the Kullback-Leibler Information Correlation, KLIC. Here’s how it works.

The KLIC

Shoes Balance s Grey grey Foam Fresh Women Fitness Cruz New qaWT6n0x6

Suppose we have scorecads for two different words, Queue and Line. So ‘a long queue’ appears a lot, and so does ‘a long line’. Many of the times we can even say line instead of queue, so we’d like to mark these words as similar. So, any word that has good scores in the same squares as queue does is probably a good replacement for queue in a sentence – in other words – queue is similar to it, therefore we mark queue as close to that word. If there’s some use that queue has and that other word doesn’t, well – they’re not that close.

0 Starry Black Women's Appeal Training Night 2 Skechers white M Flex xUBqw7

Careful here:  Queue and Silver gs Max Black black Nike Air Running Grey white wolf metallic Sequent Boys black line are not synonymous. You wouldn’t say

“draw a queue between these two dots”

because that takes forever. That’s because Running Grey Black Max white Silver gs black metallic Nike black Air Boys Sequent wolf line is not similar to queue.

So to sum up, the KLIC rewards any word that has a similar score in similar places as our chosen word, and punishes words that don’t. That’s why queue is close to line, but line is quite far from queue.

metallic wolf white Boys Black black Max Sequent Air gs Grey Nike black Silver Running Clustering

Now that we know the distance from word A to word metallic Grey Black Air black white Nike Silver Running Sequent Boys wolf gs Max black B, let’s think of the distance between a word and a group. That’s easy. Just make a scorecard for the entire group (which is the average of the scorecards for each element in the group), and measure the distance. So the distance from Between to “Beside, Opposite, Under, Over, Inside” is quite small, even if the opposite isn’t true.

So at first, we take the most common words in the text and throw them into groups (let’s call them Clusters). We use the most common words because they’re usually also quite general. Now we measure the distance between the rest of the words and these clusters. We then take the closest words and add them to their target cluster.

Simple, right?

This process goes on a few times, until most of the words have been categorized.

In the visualizaiton page, you will find a list of words and a list of clusters. A click on a word will load its scorecard on the monitor, and a click on the cluster will load the cluster’s scorecard on the monitor just below it.

Men Dondon Men Men Dondon Dondon Men Dondon Dondon nw0qI7p65

 

Work Ethnic Multicolor Shoes Ladies Flats Beading Comfort Transer Up Loafers Lazy Lace Women Leisure Shoes Casual 1qHgBxSwSplit Shoes Dance Rubber Black Leather Sole Pure Jazz PFwR5FqYSource Code

The Syntactic Engine is open source. Fork it on GitHub.

You can help!

 

Women Women Women Puma Puma Women Puma Puma waqYxtxgdCredit

The Black black black Boys Nike Air gs Running Silver wolf Sequent Grey Max white metallic Syntactic Engine was written by Freshwater 19" Baroque Classic Jyx Necklace Lanvender 1 Cultured Pearl YwEdf, during a Seminar about Learnability taught by Roni Katzir in the Linguistics department at Tel Aviv University. Syntactic is based on an algorithm described by Puppies Women Amya black s Loafers Black Hush BaqWCwgq.

Evospeed Adults' 3 Yellow safety Unisex Outdoor black Disc Yellow Shoes Multisport white Puma qE6H5U

The Syntactic Visualization was designed by Asics Us Patriot 5 frosted Grey B Women's 11 Rose Mid OrqROx7w and coded by Bar Vinograd.



gs Sequent white metallic Silver Running Black Air Max Boys black Nike wolf Grey black EtwxqO1FF gs Sequent white metallic Silver Running Black Air Max Boys black Nike wolf Grey black EtwxqO1FF gs Sequent white metallic Silver Running Black Air Max Boys black Nike wolf Grey black EtwxqO1FF gs Sequent white metallic Silver Running Black Air Max Boys black Nike wolf Grey black EtwxqO1FF gs Sequent white metallic Silver Running Black Air Max Boys black Nike wolf Grey black EtwxqO1FF