Options
"[Solved] Assigning IDs to tokens in word vector."
![gamgambambam](https://us.v-cdn.net/6030995/uploads/defaultavatar/nCCNNSPK1YM69.jpg)
![](https://s3.amazonaws.com/rapidminer.community/vanilla-rank-images/contributor-16x16.png )
Hi,
I have this word vector:
![image](http://postimg.org/image/zaahfep4v/)
http://postimg.org/image/zaahfep4v/
What i want to do is copy all the tokens from the top x-axis and align them next to their appropriate IDs.
For example, the token 'actual' (on the top x-axis) has the value of 0.366 and id of 3006. What I want is for the token 'actual' to be aligned next to its id. So in this case row 45 would go: id (3006), token (actual).
![image](http://postimg.org/image/erk3d16h5/)
http://postimg.org/image/erk3d16h5/
Hope all this makes sense.
Thanks in advance for your help,
Alex
I have this word vector:
http://postimg.org/image/zaahfep4v/
What i want to do is copy all the tokens from the top x-axis and align them next to their appropriate IDs.
For example, the token 'actual' (on the top x-axis) has the value of 0.366 and id of 3006. What I want is for the token 'actual' to be aligned next to its id. So in this case row 45 would go: id (3006), token (actual).
http://postimg.org/image/erk3d16h5/
Hope all this makes sense.
Thanks in advance for your help,
Alex
Tagged:
0
Answers
if I understand you correctly you want to De-Pivot the data (search Pivot on the internet to understand the operation). For an example see the process below. The regular expression in the attribute_name parameter of De-Pivot selects all attributes but text and id.
Best regards,
Marius
You are a champion!
Alex