io.whelk.hy.phen.HyphenResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whelk-hy-phen-a-tion Show documentation
Show all versions of whelk-hy-phen-a-tion Show documentation
Java OSS library for calculating syllables and hyphenation using Frank Liang's doctoral thesis.
package io.whelk.hy.phen;
import java.util.Collections;
import java.util.List;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
@Data
@Accessors(fluent = true, chain = true)
public class HyphenResult {
private String originalWord;
private String trieWord;
private String hyphenWord;
@ToString.Exclude
private List tries = Collections.emptyList();
private List syllables = Collections.emptyList();
@ToString.Exclude
private boolean isEdgeCase = false;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy