src-d / ml-core

source{d} MLonCode foundation - core algorithms and models.
Other
14 stars 16 forks source link

Split output of BiLSTM splitter by the corresponding identifiers #26

Closed irinakhismatullina closed 5 years ago

irinakhismatullina commented 5 years ago

I know it's not important. It just weighs on my mind.

Super small change, that significantly simplifies the model's usage.

Just change the form of the output of the split() function like that:

X = ["networkSocket", "variablename"]

Was:

Y = ["network", "socket", "variable", "name"]

Now:

Y = [["network", "socket"], ["variable", "name"]]