I have search alot about for a given implementation within NLP that can expect list of words as input variable and define the sequencing or some kind of dependency for execution. For instance:
There is a list of words as, ['delete', 'add', 'redeploy', 'create', 'cell', 'sector']
Now, I would like to re-arrange these words in a sequence that tells which word/action/event should occur first before the next one. Therefore, with that logic the list of words should then be re-arranged as, ['create', 'cell', 'sector', 'add', 'delete', 'redeploy']. Which means, 'create' as an operation/action should occur before 'add' or 'delete' operation/action.
Is there any specific library exist that can calculate this dependency/sequencing among a given list of words?
I have search alot about for a given implementation within NLP that can expect list of words as input variable and define the sequencing or some kind of dependency for execution. For instance:
There is a list of words as, ['delete', 'add', 'redeploy', 'create', 'cell', 'sector']
Now, I would like to re-arrange these words in a sequence that tells which word/action/event should occur first before the next one. Therefore, with that logic the list of words should then be re-arranged as, ['create', 'cell', 'sector', 'add', 'delete', 'redeploy']. Which means, 'create' as an operation/action should occur before 'add' or 'delete' operation/action.
Is there any specific library exist that can calculate this dependency/sequencing among a given list of words?