Currently working on resume parser and struggled with word embedding on wordwords with '-' symbols in itthem. Such as 'IT-manager'.
If I get vector representationVector representations of this word,these words are incorrectly classified by doc2vec fails to classify it right.
['it-manager'] [('salary', 0.23328335583209991), ('responsibilites', 0.22327110171318054), ('schedule', 0.14869527518749237), ('position', 0.12755176424980164)]
But when I remove '-' symbol, it is tokenized and classified right.
['it', 'manager'] [('position', 0.9306046962738037), ('schedule', 0.6630333662033081), ('responsibilites', 0.6081600189208984), ('salary', 0.5934453010559082)]
How todo you work with such data properly? For this kind of task, I guess, it is better to exclude the symbol. But there may be there is thea way to tell Doc2vec to threattreat these words like two different ones. Or toperhaps tell the word_tokenizer to tokenize them in this fashion?