java - Filter Babelnet synsets by category -


i'm using babelnet java api query online service:

1) synset of words babelnet relation .getsynsets() on babelnet instance

2) have method categories of these words relation .getdomains().

i want synsets related specific domain, example word "apple" generates synsets: {apple (music group), apple, ariane passenger payload experiment, apple (album)} , domains :{music, computing, physics , astronomy}.

specifying music domain want end synset {apple (music group), apple (album)}, so: there way filter synset on step 1) specific domain got through step 2)?


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -