All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.unlaxer.jaddress.parser.HeuristicBuildingMatcher Maven / Gradle / Ivy

The newest version!
package org.unlaxer.jaddress.parser;

import org.unlaxer.jaddress.entity.standard.階層要素;

public class HeuristicBuildingMatcher{
	
	public static boolean isMatch(TripletAddressToken triplet , 階層要素 _階層要素) {
		
		if(triplet.successor().asString().equals("号室")) {
			return false;
		}
		
		if(triplet.predecessor().stringAndCharacterKinds().size()>1) {
			return false;
		}
		return true;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy