Skip to content

Java OSS library for calculating syllables and hyphenation based on Frank Liang's doctoral thesis.

License

Notifications You must be signed in to change notification settings

whelk-io/hy-phen-a-tion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hy-phen-a-tion

Java OSS library for calculating syllables and hyphenation based on Frank Liang's doctoral thesis.

CodeFactor release

Usage

public static void main(String...args) { 
  
  var result = Hyphenator.hyphen("computer");
  
  System.out.println(result); 
  // HyphenResult(
  //    originalWord=computer, 
  //    trieWord=co4m5pu2t3e4r, 
  //    hyphenWord=com-put-er, 
  //    syllables=[com, put, er])
  
}

System Requirements

  • Java 11

Maven Integration

Maven Central

<dependency>
  <groupId>io.whelk.hy.phen</groupId>
  <artifactId>whelk-hy-phen-a-tion</artifactId>
  <version>${hy-phen-a-tion-version}</version>
</dependency>

About

Java OSS library for calculating syllables and hyphenation based on Frank Liang's doctoral thesis.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages