I need help implementing the HMM module in R. I am new to R and don't have much knowledge about this. So I have to implement IE using HMM, I have two folders with files, one with sentences, and the other with the corresponding tags that I want to learn from each sentence.
folder1 > event1.txt: "2013 2nd International Conference on Information and Knowledge Management (ICIKM 2013) will be held in Chengdu, China during July 20-21, 2013." folder2 > event1.txt: "N: 2nd International Conference on Information and Knowledge Management (ICIKM 2013) D: July 20-21, 2013 L: Chengdu, China" N -> Name; D -> Date; L -> Location
My question is how to implement it on R, how to initialize the model, and how to do it to train it? And how can I apply it to a random sentence to extract information?
Thanks in advance for your help!
source share