src/main/java/org/wltea/analyzer/core/LexemePath.java
int getPWeight(){
		int pWeight = 0;
		int p = 0;
		Cell c = this.getHead();
		while( c != null && c.getLexeme() != null){
			p++;
			pWeight += p * c.getLexeme().getLength() ;
			c = c.getNext();
		}
		return pWeight;		
	}
int getPWeight(){
		int pWeight = 0;
		int p = 0;
		Cell c = this.getHead();
		while( c != null && c.getLexeme() != null){
			p++;
			pWeight += p * c.getLexeme().getLength() ;
			c = c.getNext();
		}
		return pWeight;		
	}
int getPWeight ( ) { int pWeight = 0 ; int p = 0 ; Cell c = this . getHead ( ) ; while ( c != null && c . getLexeme ( ) != null ) { p ++ ; pWeight += p * c . getLexeme ( ) . getLength ( ) ; c = c . getNext ( ) ; } return pWeight ; }
词元位置权重
@return
词元位置权重