Skip to content

A java library which computes the google page rank of a url.

Notifications You must be signed in to change notification settings

tc/google-pagerank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Google PageRank
http://tommy.chheng.com

Using Maven(or ivy, sbt, etc), add the following to your pom.xml:
<repositories>
    <repository>
        <id>tc-maven-repo</id>
        <url>https://github.com/tc/tc-maven-repo/raw/master/releases</url>
    </repository>
</repositories>


<dependencies>
    <dependency>
        <groupId>google</groupId>
        <artifactId>pagerank</artifactId>
        <version>1.0.2</version>
    </dependency>
</dependencies>


Usage:
     String domain = "http://www.gmail.com";
     int pageRank = PageRank.get(domain);
     assertEquals(9, pageRank);
 
Deploy for developers:
mvn -DaltDeploymentRepository=repo::default::file:../../tc-maven-repo/releases clean deploy
mvn -DaltDeploymentRepository=snapshot-repo::default::file:../../tc-maven-repo/snapshots clean deploy

cd ../../tc-maven-repo && git add . && git commit -m "new version of google page rank"

About

A java library which computes the google page rank of a url.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages