private double[] getSeedFreq(String hash) {
		String hashtag;
		boolean inBase = false;
		
		//check whether hashtag is baseline criteria
		for(String basehash:Settings.baseKeywords){
			if(hash.replace("#", "").equals(basehash.toLowerCase()) || hash.equals(basehash)){
				inBase = true;
				//System.out.println(hash+" vs "+basehash+"..."+inBase);
				break;
			}
		}
		
		//convert the baseline word into # manner
		if(!inBase){
			hashtag = hash;
		}else{
			hashtag = hash.toLowerCase();
			if(!hashtag.startsWith("#"))
				hashtag = "#"+hash.toLowerCase();
			hashtag = hashtag.replace(" ", "");
		}
		
		//assign the time frame sampled frequency if exist, else assign all zero
		if(TFFreq_sample.containsKey(hashtag)){
			return TFFreq_sample.get(hashtag);
		}else{
			System.out.println("********************* {"+hashtag+"} not in sample array");
			double[] temp = new double[(int) (Settings.timer/Settings.sample)];
			for(int i =0; i<temp.length; i++) temp[i] =0;
			return temp;
		}
	}