lib/natural/stemmers/indonesian/prefix_rules.js
function runDisambiguator(disambiguateRules, word){
		var result = undefined;
	
		for(var i in disambiguateRules){
	    	result = disambiguateRules[i](word);
	    	if(find(result)){
	    		break;
	    	}
	    }
	    
	    if(result==undefined){
	    	this.current_word = word;
	    	this.removal = undefined;
	    	return this;
	    }

	    return createResultObject(result, word, "DP");
	}
function runDisambiguator(disambiguateRules, word){
		var result = undefined;
	
		for(var i in disambiguateRules){
	    	result = disambiguateRules[i](word);
	    	if(find(result)){
	    		break;
	    	}
	    }
	    
	    if(result==undefined){
	    	this.current_word = word;
	    	this.removal = undefined;
	    	return this;
	    }

	    return createResultObject(result, word, "DP");
	}
function runDisambiguator ( disambiguateRules , word ) { var result = undefined ; for ( var i in disambiguateRules ) { result = disambiguateRules [ i ] ( word ) ; if ( find ( result ) ) { break ; } } if ( result == undefined ) { this . current_word = word ; this . removal = undefined ; return this ; } return createResultObject ( result , word , "DP" ) ; }
Run the array of disambiguate rules on input word
Run the array of disambiguate rules on input word