query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Create an attribute based on its ID and datatype.
protected AttributeImpl(long ID, int datatype) { super(ID); this.datatype = datatype; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Attribute createAttribute();", "Attribute createAttribute();", "TAttribute createTAttribute();", "A createAttribute( @NonNull final String p_id, @Nonnull final String p_property );", "@Function Attr createAttribute(String name);", "private Attribute createAttribute() {\n\t\t\tAttribute att = AttributeFac...
[ "0.78207415", "0.78207415", "0.73777854", "0.7271241", "0.7092303", "0.694848", "0.69415146", "0.67853457", "0.6574066", "0.65476966", "0.63577056", "0.6276283", "0.62601984", "0.62358195", "0.6180343", "0.61338454", "0.6072167", "0.6014202", "0.60037863", "0.59745103", "0.59...
0.691275
7
/ renamed from: a
public Void execute() throws SocketTimeoutException, NetworkException, UnexpectedResponseException, SSLException { try { super.execute(); } catch (Exception e) { Log.m1919i(this.TAG, "<- call(failed) - mark it as success anyways"); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ access modifiers changed from: protected
public void responseReceived(int i, String str, long j, String str2) { super.responseReceived(i, str, j, str2); JumioAnalytics.add(MobileEvents.networkRequest(JumioAnalytics.getSessionId(), getClass().getName(), i, str, j)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375736", "0.7042321", "0.6922649", "0.6909494", "0.68470824", "0.6830288", "0.68062353", "0.6583185", "0.6539446", "0.65011257", "0.64917654", "0.64917654", "0.64733833", "0.6438831", "0.64330196", "0.64330196", "0.64295477", "0.6426414", "0.6420484", "0.64083177", "0.640...
0.0
-1
/ access modifiers changed from: protected / renamed from: a
public Void parseResponse(String str) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "@Override\n\tpublic void a() {\n\t\t\n\t}", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n public void ...
[ "0.75487316", "0.731168", "0.7175719", "0.6922765", "0.68436205", "0.6787446", "0.6737766", "0.6661239", "0.6636431", "0.6636431", "0.6555339", "0.6541811", "0.6538689", "0.65002376", "0.6497996", "0.64969236", "0.64871234", "0.6476728", "0.64667493", "0.64036006", "0.6393152...
0.0
-1
/ access modifiers changed from: protected
public void prepareData() throws Exception { for (int i = 0; i < this.f4804b.length; i++) { try { byte[] readFile = FileUtil.readFile(this.f4804b[i]); addPart(new String[]{String.format("Content-Disposition: form-data; name=\"%s_%d\"; filename=\"%s_%d.jpg\"", new Obje...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override...
[ "0.7375753", "0.70422196", "0.69218373", "0.6907941", "0.6845266", "0.68283623", "0.6805162", "0.6583373", "0.653852", "0.6502129", "0.64900213", "0.64900213", "0.6471215", "0.64374804", "0.6431033", "0.6431033", "0.6428289", "0.642479", "0.6418873", "0.6408808", "0.64064246"...
0.0
-1
/ If readLatest then next version to read is version + 1. Producer doesn't know weather the version + 1 exists or not. That check is performed in DeltaMetadataFetchJob
public boolean hasNext() { if(readLatest) { return true; } /* If readLatest is false versions are moving backwards. The smallest version to read is 0. */ if(version >= 0) { return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getNextVersion() {\n return emlVersion + 1;\n }", "private Integer getNextRevisionVersion(Integer curVersion) {\n\n if (curVersion == null) {\n return IntDef.INT_ONE;\n }\n return curVersion + IntDef.INT_ONE;\n }", "@Test\n void testUpdateWhenLatestChanges()...
[ "0.65319574", "0.65110517", "0.6254132", "0.59781414", "0.5830988", "0.5708174", "0.56948686", "0.56531507", "0.5587894", "0.5566702", "0.556488", "0.5550703", "0.5546625", "0.55444175", "0.5539868", "0.5539276", "0.5515459", "0.5507193", "0.5498596", "0.5478319", "0.5431846"...
0.6539498
0
Processes a valid command.
public interface UserCommand { /** * Processes the command. * @throws IOException * @throws ClassNotFoundException * @throws InterruptedException * @throws DescriptorException */ public void process(final JCommander jCommander) throws IOException, InterruptedException, ClassNotFoundException, Descrip...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void parseCommand(String command){\n\t\tif(command!=null && command.length()>0){\n\t\t\tif(!subMenuFlag){\n\t\t\t\tmainMenuCommand(command);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsubMenuCommand(command);\n\t\t\t}\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"Please enter a valid command.\");\n\t\t}\n\t}", "protected vo...
[ "0.72073495", "0.7109285", "0.69942605", "0.698809", "0.69534093", "0.6949651", "0.69106287", "0.6880428", "0.68580765", "0.6846474", "0.6838375", "0.68251663", "0.68183863", "0.679636", "0.6752877", "0.6741385", "0.6726418", "0.67099607", "0.6701789", "0.6682872", "0.6673375...
0.0
-1
Returns the value of the 'Type Reference' reference. If the meaning of the 'Type Reference' reference isn't clear, there really should be more of a description here...
PSObject getTypeReference();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TypeReference getTypeReference();", "public String getRefType() {\n return refType;\n }", "String getReferenceType();", "public IDatatype getReference() { \n\t\treturn myReference;\n\t}", "int getReferenceKind();", "ReferenceKind getKind();", "@Test\n void rawType_rawType() {\n var ref =...
[ "0.80819196", "0.7908603", "0.75616217", "0.729146", "0.71254116", "0.7049593", "0.6884951", "0.6880185", "0.6847889", "0.683599", "0.6718658", "0.6683015", "0.6557335", "0.6553712", "0.6553712", "0.6498885", "0.6498885", "0.6498885", "0.6498885", "0.6498885", "0.6498885", ...
0.8076036
1
Initialize a new NavigatorPane, which is a Diva GraphicsPane with a layer added for catalog symbols.
public NavigatorPane() { _initNewLayer(_symbolLayer); _rebuildLayerArray(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AStationPane() {\n }", "public void initialize() {\n this.setPreferredSize(new com.ulcjava.base.application.util.Dimension(548, 372));\n this.add(getTitlePane(), new com.ulcjava.base.application.GridBagConstraints(0, 0, 3, 1, -1, -1,\n com.ulcjava.base.application.GridBagConstraints.CENTER...
[ "0.6110588", "0.5919887", "0.5881298", "0.5868958", "0.5794006", "0.57916373", "0.577653", "0.57666814", "0.57308125", "0.56744057", "0.5650351", "0.56404656", "0.5616656", "0.5606597", "0.55991304", "0.55934685", "0.55902666", "0.5586751", "0.55855453", "0.5579376", "0.55409...
0.8181939
0
Return the layer to use to draw teh catalog symbols.
public SymbolLayer getSymbolLayer() { return _symbolLayer; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Layer.Layers getLayer();", "int getLayer();", "private IGraphicsContainer3D getGraphicsLayer() {\n\t\t\tILayer iLayer;\n\t\t\tboolean chkLyr = false;\n\t\t\ttry {\n\t\t\t\tint layerCount = ADAPSMain.getGlobeBean().getGlobeDisplay().getScene().getLayerCount();\n\t\t\t\tfor(int i=0;i< layerCount;i++){\n\t...
[ "0.6751465", "0.63487554", "0.6244125", "0.62380755", "0.62348354", "0.6213616", "0.6211455", "0.6173307", "0.61025536", "0.6003385", "0.59489125", "0.5851996", "0.58350897", "0.5798399", "0.578963", "0.57553816", "0.57451797", "0.5710058", "0.565422", "0.5651735", "0.5562448...
0.66796255
1
Set the object used to draw catalog symbols
public void setPlotter(TablePlotter plotter) { _symbolLayer.setPlotter(plotter); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void\nsetCharSymbol(DrawCharObject drawObject)\nthrows Exception\n{\n\tthis.setCharSymbol(drawObject.getDrawChar(), ((DrawCharObject)drawObject).getFont());\n\tthis.setUseSymbol(true);\n}", "public SvgCommand ( Catalog catalog ) {\n super (catalog);\n init();\n }", "public void setObjec...
[ "0.6217918", "0.5629141", "0.5545547", "0.5534116", "0.55263925", "0.55134", "0.55114484", "0.54614687", "0.54466605", "0.5409612", "0.53774977", "0.5345406", "0.5297074", "0.5286049", "0.5260473", "0.5257282", "0.525294", "0.5234733", "0.52291936", "0.5197037", "0.5183664", ...
0.0
-1
Rebuild the array of layers for use by iterators. Override superclass to include the new layer.
@Override protected void _rebuildLayerArray() { _layers = new CanvasLayer[] { _foregroundEventLayer, _symbolLayer, _overlayLayer, _foregroundLayer, _backgroundLayer, _backgroundEventLayer}; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void allLayers()\n\t{\n\t\tint totalLayers = this.psd.getLayersCount();\n\t\t\n\t\tLayer layer;\n\t\t\n\t\tfor (int i = totalLayers - 1; i >= 0; i--) {\n\t\t\tlayer = this.psd.getLayer(i);\n\t\t\t\n\t\t\tif (!layer.isVisible() || (layer.getType() == LayerType.NORMAL && layer.getWidth() == 0)) {\n\t\t\t\tthi...
[ "0.6552287", "0.62102294", "0.60324115", "0.6023765", "0.59932363", "0.5858593", "0.5758369", "0.5756109", "0.5714178", "0.5669856", "0.56685084", "0.5668221", "0.56654304", "0.56207335", "0.5602589", "0.5593488", "0.5541193", "0.54401314", "0.54078954", "0.53978264", "0.5380...
0.80134696
0
The Package for the model. It contains accessors for the meta objects to represent each class, each feature of each class, each operation of each class, each enum, and each data type
public interface IotdslPackage extends EPackage { /** * The package name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNAME = "iotdsl"; /** * The package namespace URI. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNS_URI = "http://www.un...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IoT_metamodelPackage getIoT_metamodelPackage();", "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n modelEClass = createEClass(MODEL);\n createEReference(modelEClass, MODEL__AGENT);\n\n agentEClass = createEClass(AG...
[ "0.6438335", "0.6183183", "0.6150908", "0.60770375", "0.60461164", "0.6045781", "0.60218316", "0.6008683", "0.6007433", "0.6006785", "0.5992948", "0.59852624", "0.5983131", "0.5982464", "0.5967186", "0.5963942", "0.59520406", "0.5950597", "0.5947596", "0.59391683", "0.5932117...
0.0
-1
Returns the factory that creates the instances of the model.
IotdslFactory getIotdslFactory();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ModelsFactory getModelsFactory();", "public ObjectifyFactory factory() {\n return ofy().factory();\n }", "TestModelFactory getTestModelFactory();", "BehaviouralModelFactory getBehaviouralModelFactory();", "public static Factory factory() {\n return ext_dbf::new;\n }", "public ValueFactory<K...
[ "0.7365279", "0.7147646", "0.7042554", "0.66732574", "0.66433585", "0.6542524", "0.6426967", "0.6378293", "0.63225335", "0.62815636", "0.6185782", "0.61756575", "0.6168043", "0.6150566", "0.61496305", "0.61323225", "0.6131665", "0.6126879", "0.61266255", "0.6124763", "0.61157...
0.0
-1
Defines literals for the meta objects that represent each class, each feature of each class, each operation of each class, each enum, and each data type
interface Literals { /** * The meta object literal for the '{@link be.unamur.iot.iotdsl.impl.IotModelImpl <em>Iot Model</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see be.unamur.iot.iotdsl.impl.IotModelImpl * @see be.unamur.iot.iotdsl.impl.IotdslPackageImpl#getIotModel() * @ge...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generateCoreTypes() {\n\t\tvoidDt = new VoidDataType(progDataTypes);\n\t\tArrayList<TypeMap> typeList = new ArrayList<>();\n\t\ttypeList.add(new TypeMap(DataType.DEFAULT, \"undefined\", \"unknown\", false, false));\n\n\t\tfor (DataType dt : Undefined.getUndefinedDataTypes()) {\n\t\t\ttypeList.add(new ...
[ "0.5968677", "0.59548515", "0.5850221", "0.5850015", "0.58133096", "0.57150894", "0.57085437", "0.5677728", "0.5551327", "0.55462176", "0.5536693", "0.5531117", "0.5517386", "0.5498399", "0.54960024", "0.5469524", "0.54669315", "0.54555976", "0.5453988", "0.5452739", "0.54321...
0.50735164
69
/ Find sum of decimal representations of 'A', 'X' and '%' in ASCII > 65, 88, 37 = 190
public static void main(String[] args) { char charA = 'A'; int intA = 'A'; System.out.println(charA); // A System.out.println(intA); // 65 char charX = 'X'; int intX = 'X'; System.out.println(charX); // X System.out.println(intX); // 88 char char...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int getSumOfAllCharacters() {\n\t\tint sum1 = 0;\n\t\tchar[] ch = theString.toCharArray();\n\t\tint temp_integer = 64;\n\t\tint temp_small = 96;\n\n\t\tfor (char c : ch) {\n\t\t\tint temp = (int) c;\n\t\t\t// System.out.println(temp);\n\n\t\t\tif (temp <= 90 & temp >= 65) {\n\t\t\t\tint sum = (...
[ "0.6349116", "0.6170771", "0.6107258", "0.6080651", "0.5928065", "0.58394665", "0.57426643", "0.5632353", "0.55307555", "0.55246156", "0.54629153", "0.5437961", "0.5423009", "0.5421922", "0.5401836", "0.53761125", "0.53662485", "0.53038454", "0.5281387", "0.525221", "0.524598...
0.7342639
0
Called whenever one of the list items is clicked.
@Override protected void onListItemClick(ListView list, View view, int position, long id){ // Start the selected Activity Intent intent = new Intent(this, activities[position]); startActivity(intent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onListItemClicked(int position) {\n\n }", "void onListClick();", "@Override\r\n public void onListItemClick(ListView l, View v, int position, long id) {\n }", "abstract public void onSingleItemClick(View view);", "@Override\n public void onItemClick(View view,...
[ "0.76936084", "0.7668466", "0.7375451", "0.7372957", "0.7358719", "0.7332538", "0.72857344", "0.7267541", "0.72462", "0.723758", "0.7213979", "0.7180443", "0.71638703", "0.7158465", "0.71549845", "0.71503353", "0.7149821", "0.71477437", "0.7135444", "0.7132487", "0.71153224",...
0.0
-1
No need to return anything special.
@Override public Object getItem(int position) { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract int pregnancy();", "public abstract Object mo26777y();", "Variable getReturn();", "public abstract String mo41079d();", "default boolean isSpecial() { return false; }", "public String method_211() {\r\n return null;\r\n }", "protected boolean func_70814_o() { return true; }", "public ...
[ "0.6275836", "0.6153006", "0.60813355", "0.60504496", "0.6043762", "0.596012", "0.594533", "0.5908153", "0.5892762", "0.58906204", "0.58845884", "0.58749264", "0.5874093", "0.5864412", "0.5861402", "0.5859439", "0.5824405", "0.57899934", "0.5789204", "0.57492614", "0.57387125...
0.0
-1
No need to anything special.
@Override public long getItemId(int position) { return 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "public final void mo51373a() {\n }", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "publ...
[ "0.65471834", "0.65124077", "0.6423701", "0.6382928", "0.63694847", "0.63574755", "0.6278091", "0.6270019", "0.6260426", "0.6247964", "0.62209135", "0.6111217", "0.6111217", "0.6110832", "0.6077988", "0.6034063", "0.60304725", "0.6022222", "0.60024077", "0.5975472", "0.597261...
0.0
-1
Creates the Views that actually populate the list
@Override public View getView(int position, View convertView, ViewGroup parent) { if(null == convertView){ // Our view has not been recycled, let's create a new one! convertView = getLayoutInflater().inflate(R.layout.item_list_image, null); } // Update recycled or old view TextView label = (TextVi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void populateViewCollections() {\n\n\t}", "private void initView(List<PersonWrapper> listOfPersons) {\n adapter = new PersonAdapter(context, listOfPersons);\n mPersonsView.setAdapter(adapter);\n adapter.notifyDataSetChanged();\n }", "@Override\n public void Create() {\n ...
[ "0.7615546", "0.693429", "0.6902428", "0.6855224", "0.68065125", "0.68064606", "0.67950624", "0.6736724", "0.6683646", "0.6624386", "0.6557457", "0.6529736", "0.6526574", "0.65252763", "0.65080106", "0.6477044", "0.6454091", "0.64450115", "0.6427838", "0.6421604", "0.63919127...
0.0
-1
Creates new form TelaPesquisa
public TelaPesquisa() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public creacionempresa() {\n initComponents();\n mostrardatos();\n }", "public void crear(Tarea t) {\n t.saveIt();\n }", "public CrearQuedadaVista() {\n }", "public String nuevo() {\n\n\t\tLOG.info(\"Submitado formulario, accion nuevo\");\n\t\tString view = \"/alumno/form\";\n\n...
[ "0.70411307", "0.6824537", "0.67587143", "0.6727967", "0.66962445", "0.6667948", "0.6654999", "0.66444725", "0.6642863", "0.6569874", "0.647233", "0.6468731", "0.6404914", "0.6391973", "0.6371097", "0.6357891", "0.63574946", "0.63506097", "0.63501126", "0.6318894", "0.6313187...
0.6399685
13
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jLabel1 = new javax.swing.JLabel(); txtNome = new javax.swing.JTextField(); btnBuscar = new javax.swing.JButton(); jLabel2 = n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.7320782", "0.72918797", "0.72918797", "0.72918797", "0.728645", "0.72498447", "0.7214492", "0.720934", "0.7197145", "0.71912014", "0.71852076", "0.7160113", "0.71487373", "0.70943654", "0.70820624", "0.7058153", "0.69883204", "0.6978216", "0.69558746", "0.6955715", "0.6945...
0.0
-1
Created by andresaleman on 9/22/17.
public interface DiscographyMvpPresenter<V extends DiscographyMvpView> extends MvpPresenter<V> { void onViewPrepared(String discography); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", ...
[ "0.6157627", "0.5942651", "0.59233457", "0.5855811", "0.5837426", "0.58088446", "0.5808601", "0.5799264", "0.5799264", "0.57633686", "0.57572263", "0.5751068", "0.5741395", "0.57340634", "0.5698857", "0.5691537", "0.5673121", "0.56682235", "0.56641513", "0.566154", "0.5655384...
0.0
-1
get a calendar object referring to the month specified in parameter string
public Calendar getCurrentMonthCalendarObj() throws Throwable{ String dateInput = "01/"+month+"/"+year; DateFormat df = new SimpleDateFormat("dd/MMMM/yyyy"); Date startDate = df.parse(dateInput); Calendar c = Calendar.getInstance(); // this takes current date c.setTime(startDate); // set date t...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int getCalendarMonth(String month){\n month = month.toUpperCase();\n if (month.indexOf(\"JAN\") == 0 ) {\n return Calendar.JANUARY;\n } else if (month.indexOf(\"FEB\") == 0) {\n return Calendar.FEBRUARY;\n } else if (month.indexOf(\"MAR\") == 0) {\n ...
[ "0.67139494", "0.60149974", "0.5919052", "0.5879275", "0.57941383", "0.57467586", "0.5662147", "0.5661358", "0.5660192", "0.5615424", "0.558509", "0.5583027", "0.5504106", "0.5500592", "0.5490501", "0.54657507", "0.5458975", "0.54219186", "0.5404819", "0.5396602", "0.5379667"...
0.6504688
1
created strings to determine values based on random generator through if statments and then scanner for the person input//
public static void main(String[] args) { String person = " "; int computer = (int)Math.random()*3 + 1; String computerChoice = " "; Scanner scan = new Scanner(System.in); System.out.println("Lets play Rock, Paper, Scissors. Enter your choice: "); person = scan.nextLi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getRandomName(){\n return rndString.nextString();\n }", "public static void main(String[] args) {\n\t\t\n\t\tfinal String letters = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*\";\n\n\t\t// b. have a random number generator\n\n\t\tRandom rand = new Random();\n...
[ "0.6515334", "0.63833946", "0.6198847", "0.6060112", "0.6027613", "0.5991884", "0.5977702", "0.59342915", "0.59201086", "0.5880468", "0.5868327", "0.5844051", "0.5832612", "0.58307713", "0.5809771", "0.57882965", "0.5780597", "0.57714933", "0.57624644", "0.5759192", "0.574923...
0.5360698
93
Creates new form StudentDetails
public StudentDetails() { initComponents(); this.setIconImage(new javax.swing.ImageIcon(getClass().getResource("Library.png")).getImage()); if (java.awt.Toolkit.getDefaultToolkit().getScreenSize().height == 768 && java.awt.Toolkit.getDefaultToolkit().getScreenSize().width == 1366) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(\"/students/new\")\r\n\tpublic String createStudentForm(Model model) {\n\t\tStudent student =new Student();\r\n\t\tmodel.addAttribute(\"student\",student);\r\n\t\treturn \"create_student\";\r\n\t}", "@GetMapping(\"/students/new\")\n\tpublic String createStudentForm(Model model) throws ParseException\...
[ "0.766229", "0.7037086", "0.70064455", "0.690013", "0.6862708", "0.68595773", "0.6844582", "0.6677259", "0.6663471", "0.6561251", "0.65603805", "0.65121305", "0.64401084", "0.6417354", "0.6405969", "0.6347527", "0.6346749", "0.6282207", "0.6269214", "0.6254599", "0.6237991", ...
0.0
-1
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jPanel5 = new javax.swing.JPanel(); jPanel6 = new javax.swing.JPanel(); jTabbedPane1 = new javax.swing.JTabbedPane(); jPanel1 ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73191476", "0.72906625", "0.72906625", "0.72906625", "0.72860986", "0.7248112", "0.7213479", "0.72078276", "0.7195841", "0.71899796", "0.71840525", "0.7158498", "0.71477973", "0.7092748", "0.70800966", "0.70558053", "0.69871384", "0.69773406", "0.69548076", "0.69533914", "...
0.0
-1
Swap the new cursor in. (The framework will take care of closing the old cursor once we return.)
@Override public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) { mPurseAdapter.swapCursor(cursor); // Sumar el total de todos los monederos int currency; int total = 0; if (!cursor.moveToFirst()) { return; } do { currency ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Cursor swapCursor(final Cursor cursor) {\n if (cursor == mCursor) return null;\n\n final Cursor prevCursor = mCursor;\n mCursor = cursor;\n return prevCursor;\n }", "public void swapCursor(Cursor newCursor) {\n if (mCursor != nul...
[ "0.7568983", "0.74998534", "0.73973423", "0.7228006", "0.7041382", "0.6998408", "0.66859865", "0.6622632", "0.65490377", "0.6527358", "0.65101004", "0.64928806", "0.6424181", "0.63163596", "0.6119488", "0.6111049", "0.60545397", "0.6016407", "0.5978597", "0.5951686", "0.59119...
0.0
-1
This is called when the last Cursor provided to onLoadFinished() above is about to be closed. We need to make sure we are no longer using it.
@Override public void onLoaderReset(Loader<Cursor> loader) { mPurseAdapter.swapCursor(null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void onReset() {\n super.onReset();\n onStopLoading();\n if (!(this.mCursor == null || this.mCursor.isClosed())) {\n this.mCursor.close();\n }\n this.mCursor = null;\n }", "@Override\r\n\tpublic void onLoadFinished(Loader<Cursor> mLoader, Cursor mCursor) {\...
[ "0.75013745", "0.74527436", "0.74223447", "0.7279504", "0.7064719", "0.7029404", "0.69404846", "0.69385564", "0.6923533", "0.68791205", "0.6860994", "0.6813129", "0.68000776", "0.6777345", "0.67602205", "0.6707064", "0.6700493", "0.6638872", "0.65359634", "0.6441918", "0.6402...
0.6031097
52
I'm making this class a subclass of the Shape class
public ColorEllipse(javax.swing.JPanel container){//I'm making this shape's subclass ask for a container of type javax.swing.JPanel when isntantiated. super(container, new java.awt.geom.Ellipse2D.Double());//I'm passing the superclass constructor the container that will be //received when the shape i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Shape() {}", "@Override\n\tpublic void getShape() {\n\n\t}", "public Shape getShape() { return shape; }", "Shape getShape();", "public NewShape() {\r\n\t\tsuper();\r\n\t}", "public interface Shape {\n\t/**\n\t * Calculates and returns the area of the object\n\t * @return\n\t */\n\tpublic abstra...
[ "0.80793774", "0.78599995", "0.76240927", "0.752209", "0.7500014", "0.7445001", "0.74211484", "0.7397194", "0.7350558", "0.734438", "0.7331751", "0.7319647", "0.72901183", "0.7169351", "0.714009", "0.7134214", "0.7110943", "0.7069622", "0.70568496", "0.7049457", "0.70475614",...
0.0
-1
config contains information about how the game window should be made
public static void main (String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); //set game window title, width and height config.title="Chess Dynasties"; config.width=1100; config.height=618; config.resizable=true; //create window new LwjglApplication(new CEOV2(), c...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void settings() {\n int widthOfWindow = 900;\n int heightOfWindow = 900;\n\n //Size of the program window\n size(widthOfWindow, heightOfWindow);\n //making the movement smooth, i think, comes from processing\n smooth();\n }", "public void windowsConfiguration() ...
[ "0.6856358", "0.6816217", "0.67260426", "0.65711427", "0.6564342", "0.6550825", "0.6525992", "0.65105355", "0.65041393", "0.6471286", "0.64424276", "0.6395432", "0.6318179", "0.63154656", "0.6300055", "0.629586", "0.6258244", "0.6254628", "0.6254023", "0.6248238", "0.6210137"...
0.0
-1
Get the async version of this proxy
public AsyncALTextToSpeech async() { return asyncProxy; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AsyncHandler getAsyncHandler() {\n return asyncHandler;\n }", "@Nonnull\n public java.util.concurrent.CompletableFuture<ManagedAppPolicy> getAsync() {\n return sendAsync(HttpMethod.GET, null);\n }", "@Nonnull\n public java.util.concurrent.CompletableFuture<AndroidWorkProfileCer...
[ "0.63955146", "0.61772734", "0.61702067", "0.6043204", "0.60188717", "0.6017261", "0.5926057", "0.5889058", "0.5856162", "0.5802166", "0.57543486", "0.57435143", "0.57362795", "0.5727432", "0.5698987", "0.56903905", "0.56887335", "0.5685552", "0.5656623", "0.56340396", "0.561...
0.6691441
0
Sets the volume of texttospeech output.
public void setVolume(Float volume) throws DynamicCallException, ExecutionException { call("setVolume", volume).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setVolume(int volume);", "void setVolume(float volume);", "public void setVolume(int volume) {\n mBundle.putInt(KEY_VOLUME, volume);\n }", "public void setVolume(float volume) {\n }", "public void setVolume(int v) {\n volume = v;\n }", "@Override\r\n\tpubl...
[ "0.72396475", "0.7202993", "0.70552754", "0.6965316", "0.6945306", "0.6944757", "0.6910864", "0.6883281", "0.68803674", "0.685386", "0.6832721", "0.6812976", "0.67483187", "0.66980577", "0.66165507", "0.6615563", "0.6535909", "0.65120035", "0.6489582", "0.64706546", "0.644135...
0.6535719
17
Get the locale associate to the current language.
public String locale() throws DynamicCallException, ExecutionException { return (String)call("locale").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Locale getLocale() {\n return localeInfo.get();\n }", "public String getLocale ( ) {\n\t\treturn extract ( handle -> getLocale ( ) );\n\t}", "java.lang.String getLocale();", "public Locale getLocale() {\n return getULocale().toLocale();\n }", "public java.util.Locale getLocale()...
[ "0.8198879", "0.7852313", "0.77008027", "0.7549517", "0.75382227", "0.7509022", "0.7492036", "0.7492036", "0.7403686", "0.7384795", "0.73677546", "0.7346722", "0.73432904", "0.73432904", "0.73432904", "0.7321496", "0.73100644", "0.73020065", "0.73017603", "0.72956896", "0.729...
0.69263977
51
Reset ALTextToSpeech to his default state.
public void reset() throws DynamicCallException, ExecutionException{ call("reset").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void reset() {\n \t\tif (currentSuggestion != null) {\n \t\t\tsetPromptingOff(currentSuggestion.getReplacementString());\n \t\t} else {\n \t\t\tif (focused) {\n \t\t\t\tsetPromptingOff(\"\");\n \t\t\t} else {\n \t\t\t\tsetPromptingOn();\n \t\t\t}\n \t\t}\n \t\thideSuggestions();\n \t\tLogger.getLogger(VSug...
[ "0.6227051", "0.60857964", "0.6033119", "0.5999797", "0.59717715", "0.59482634", "0.59042", "0.58922267", "0.58762443", "0.5870071", "0.586375", "0.5854123", "0.58483964", "0.58123875", "0.5803686", "0.5801656", "0.57966423", "0.57934207", "0.576404", "0.57628465", "0.5752706...
0.0
-1
Loads a set of voice parameters defined in a xml file contained in the preferences folder.The name of the xml file must begin with ALTextToSpeech_Voice_
public void loadVoicePreference(String pPreferenceName) throws DynamicCallException, ExecutionException{ call("loadVoicePreference", pPreferenceName).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void loadPreferences() {\n\t\tXSharedPreferences prefApps = new XSharedPreferences(PACKAGE_NAME);\n\t\tprefApps.makeWorldReadable();\n\n\t\tthis.debugMode = prefApps.getBoolean(\"waze_audio_emphasis_debug\", false);\n }", "public void loadPreferecences()\n {\n // Load preferences for chapter...
[ "0.58255583", "0.582075", "0.5796561", "0.5615683", "0.5569084", "0.5553798", "0.55322516", "0.5479164", "0.54618794", "0.53742343", "0.5369084", "0.5332996", "0.52478456", "0.5240012", "0.52077025", "0.51826453", "0.5163609", "0.5142955", "0.51010484", "0.5094766", "0.508302...
0.6142936
0
Add a word to the library
public Boolean addToDictionary(String type, String word, String priority, String phonetic, String accent) throws DynamicCallException, ExecutionException { return (Boolean)call("addToDictionary", type, word, priority, phonetic, accent).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addWord(Word word);", "public void add(String word) {\n Signature sig = new Signature(word);\n add(sig, word);\n }", "public void addWord(String word) {\n root.addWord(word);\n }", "public void addWord(String word) {\n\t\taddWord(word, root);\n\t}", "private void addC...
[ "0.83992296", "0.80525506", "0.7991349", "0.7718489", "0.7694721", "0.76325333", "0.75138825", "0.75032425", "0.74919796", "0.72720116", "0.72317094", "0.7203887", "0.7116307", "0.7101458", "0.7073688", "0.707267", "0.70510685", "0.70416933", "0.6982543", "0.6941838", "0.6913...
0.0
-1
Add a word to the library
public Boolean addToDictionary(String text, String toReplace) throws DynamicCallException, ExecutionException { return (Boolean)call("addToDictionary", text, toReplace).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addWord(Word word);", "public void add(String word) {\n Signature sig = new Signature(word);\n add(sig, word);\n }", "public void addWord(String word) {\n root.addWord(word);\n }", "public void addWord(String word) {\n\t\taddWord(word, root);\n\t}", "private void addC...
[ "0.83992296", "0.80525506", "0.7991349", "0.7718489", "0.7694721", "0.76325333", "0.75138825", "0.75032425", "0.74919796", "0.72720116", "0.72317094", "0.7203887", "0.7116307", "0.7101458", "0.7073688", "0.707267", "0.70510685", "0.70416933", "0.6982543", "0.6941838", "0.6913...
0.0
-1
Sets a voice as the default voice for the corresponding language
public void setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{ call("setLanguageDefaultVoice", Language, Voice).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Future<Void> setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n return call(\"setLanguageDefaultVoice\", Language, Voice);\n }", "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\...
[ "0.7617133", "0.72510284", "0.65543514", "0.63726676", "0.63423413", "0.6289934", "0.6280845", "0.62759703", "0.5996283", "0.5973176", "0.5840393", "0.57511383", "0.5723367", "0.5722902", "0.5714904", "0.5712192", "0.57038045", "0.5677324", "0.5676522", "0.5633969", "0.560335...
0.79055274
0
Fetches the current volume the text to speech.
public Float getVolume() throws DynamicCallException, ExecutionException { return (Float)call("getVolume").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getVolume();", "int getVolume();", "public int getVolume();", "public int getCurrentVolume() {\n return mCurrentVolume;\n }", "public float getConferenceLocalInputVolume();", "public long getCurrentVolume() {\n return currentVolume;\n }", "public float getSoundVolume() {...
[ "0.70707124", "0.70707124", "0.6930639", "0.6915535", "0.68822527", "0.6852055", "0.68214345", "0.67872554", "0.6786844", "0.6721195", "0.6718519", "0.6717051", "0.6714628", "0.66991746", "0.6666133", "0.66599005", "0.6655181", "0.6650129", "0.66302335", "0.6615166", "0.66082...
0.6448583
29
Exits and unregisters the module.
public void exit() throws DynamicCallException, ExecutionException{ call("exit").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void shutdown() {\r\n //shut down MbModule\r\n super.shutdown();\r\n }", "public void closeModule() {\n\n }", "@Deactivate\n public void deactivate()\n {\n m_PluginFactoryTracker.close();\n if (m_RegistryComponent != null)\n {\n m_RegistryCompone...
[ "0.64976", "0.6176508", "0.6146891", "0.60660416", "0.6062907", "0.60122496", "0.6006442", "0.59895074", "0.5931821", "0.5921244", "0.5917259", "0.5914479", "0.5886955", "0.5823562", "0.5815419", "0.58096945", "0.5775123", "0.5774169", "0.57511175", "0.57511175", "0.57511175"...
0.0
-1
Returns the version of the module.
public String version() throws DynamicCallException, ExecutionException { return (String)call("version").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getModuleVersionNumber();", "public static String getVersion() {\n\t\treturn version;\r\n\t}", "public static String getVersion() {\n\t\treturn version;\n\t}", "public static String getVersion() {\n return version;\n }", "public static String getVersion() {\n return version;\n }"...
[ "0.82828534", "0.79593027", "0.79504377", "0.7928336", "0.7928336", "0.78901106", "0.78431976", "0.78209424", "0.78209424", "0.77527565", "0.7751525", "0.77265674", "0.77265674", "0.77265674", "0.77265674", "0.76989996", "0.7686446", "0.7666878", "0.7666878", "0.7656246", "0....
0.0
-1
Just a ping. Always returns true
public Boolean ping() throws DynamicCallException, ExecutionException { return (Boolean)call("ping").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean ping();", "public Boolean ping() throws CallError, InterruptedException {\n return (Boolean)service.call(\"ping\").get();\n }", "public boolean ping() throws RemoteException;", "public static void ping() {}", "public static void ping() {}", "@Override\n public String ping() {\n ...
[ "0.88457584", "0.8238676", "0.80067414", "0.79437816", "0.79437816", "0.7771776", "0.77290916", "0.7649587", "0.7501426", "0.73965514", "0.7326954", "0.72604406", "0.72292286", "0.72246003", "0.7190066", "0.7124655", "0.7122489", "0.70292544", "0.6971615", "0.6862764", "0.684...
0.7808683
5
Retrieves the module's method list.
public List<String> getMethodList() throws DynamicCallException, ExecutionException { return (List<String>)call("getMethodList").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getMethodList() throws CallError, InterruptedException {\n return (List<String>)service.call(\"getMethodList\").get();\n }", "public List<IMethod> getMethods();", "public List<IMethod> getMethods();", "public List<MethodInfo> getMethods() { \n return lstMethodInfo;...
[ "0.78285235", "0.77741057", "0.77741057", "0.7695305", "0.76623446", "0.7629603", "0.7571606", "0.7500316", "0.73690224", "0.7152102", "0.71092737", "0.7095206", "0.7069985", "0.6978457", "0.6848124", "0.6760872", "0.66360235", "0.6635295", "0.6591391", "0.65497154", "0.65280...
0.7572056
6
Retrieves a method's description.
public Object getMethodHelp(String methodName) throws DynamicCallException, ExecutionException { return (Object)call("getMethodHelp", methodName).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getDesc();", "public static String getDescription(Descriptor descriptor, Annotation... annotatedMethod)\n {\n String description = getDescription(annotatedMethod);\n if (description != null) {\n return description;\n }\n\n // If that didn't work, look for one in t...
[ "0.7386968", "0.73719776", "0.73255134", "0.7262818", "0.7262818", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", ...
0.0
-1
Retrieves the module's description.
public Object getModuleHelp() throws DynamicCallException, ExecutionException { return (Object)call("getModuleHelp").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getModuleDescription();", "public String getDescription() {\n return m_module.getConfiguration().getDescription();\n }", "public ModuleDescriptionEntry getModuleDescriptionEntry();", "public String getDescription(){\n return getString(KEY_DESCRIPTION);\n }", "public String getDescripti...
[ "0.8615408", "0.81573033", "0.8122164", "0.7813136", "0.7709191", "0.7709191", "0.7709191", "0.7709191", "0.7685923", "0.76810414", "0.76810414", "0.7655621", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76...
0.0
-1
Wait for the end of a long running method that was called using 'post'
public Boolean wait(Integer id, Integer timeoutPeriod) throws DynamicCallException, ExecutionException { return (Boolean)call("wait", id, timeoutPeriod).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Status waitUntilFinished();", "protected abstract void afterWait();", "public abstract void onWait();", "protected abstract long waitOnQueue();", "public void waitToFinish()\n {\n while(!this.finished)\n {\n try\n {\n Thre...
[ "0.652333", "0.64040726", "0.6324347", "0.62295395", "0.6188023", "0.59504783", "0.5925397", "0.5860945", "0.5830767", "0.5823437", "0.5799121", "0.57330865", "0.56716174", "0.5670093", "0.5663085", "0.56505823", "0.5621365", "0.5618009", "0.5595089", "0.558274", "0.55782884"...
0.0
-1
Wait for the end of a long running method that was called using 'post', returns a cancelable future
public void wait(Integer id) throws DynamicCallException, ExecutionException{ call("wait", id).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Status waitUntilFinished();", "public abstract T await();", "CompletableFuture<?> submit(Runnable request);", "Future<T> then(Runnable result);", "public synchronized void postRequestAndWait (final Runnable r) {\n postRequest (r, true);\n }", "CompletableFuture<PostResponse> createNewPos...
[ "0.5778187", "0.5702883", "0.5682342", "0.55274713", "0.5522787", "0.5410459", "0.5409187", "0.5405397", "0.5400045", "0.5378589", "0.5347325", "0.5300659", "0.52991325", "0.52871925", "0.5247767", "0.52406156", "0.5235578", "0.51865053", "0.51556814", "0.5155309", "0.5146856...
0.0
-1
Returns true if the method is currently running.
public Boolean isRunning(Integer id) throws DynamicCallException, ExecutionException { return (Boolean)call("isRunning", id).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning () {\n\t\t\tsynchronized (runningLock) {\n\t\t\t\treturn running;\n\t\t\t}\n\t\t}", "@Over...
[ "0.8049263", "0.8049263", "0.8049263", "0.8049263", "0.8049263", "0.8049263", "0.7981295", "0.7917775", "0.7906718", "0.787724", "0.787724", "0.787724", "0.787724", "0.787724", "0.78703344", "0.7853705", "0.7838923", "0.7833095", "0.78260773", "0.78013694", "0.7772111", "0....
0.0
-1
returns true if the method is currently running
public void stop(Integer id) throws DynamicCallException, ExecutionException{ call("stop", id).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRun...
[ "0.82992965", "0.82992965", "0.82992965", "0.82992965", "0.82992965", "0.82992965", "0.8217331", "0.8217331", "0.8217331", "0.8217331", "0.8217331", "0.7928134", "0.7928134", "0.7914395", "0.79021555", "0.7849566", "0.7828639", "0.7805471", "0.78020954", "0.77904755", "0.7785...
0.0
-1
Gets the name of the parent broker.
public String getBrokerName() throws DynamicCallException, ExecutionException { return (String)call("getBrokerName").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getParentName() {\n return getProperty(Property.PARENT_NAME);\n }", "public String getParentName() {\n return parentName;\n }", "public String getParentName() {\n return parentName;\n }", "public String getParentName() {\n\t\treturn parentName;\n\t}", "public String getBroke...
[ "0.71936846", "0.6787384", "0.6786481", "0.6777598", "0.66057324", "0.64146364", "0.631574", "0.62719184", "0.6244546", "0.6238048", "0.6196289", "0.6178248", "0.6168162", "0.6156306", "0.60927606", "0.6091746", "0.598864", "0.598864", "0.5977325", "0.5977325", "0.5961093", ...
0.63864905
6
Gets the method usage string. This summarises how to use the method.
public String getUsage(String name) throws DynamicCallException, ExecutionException { return (String)call("getUsage", name).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String getUsage()\n {\n final StringBuilder usage = new StringBuilder(400);\n\n // Empty line before usage info\n usage.append(\"\\n \" \n // Describe commands/options\n + \"those <option> <command> <cmd-options> \\n\"\n...
[ "0.71555215", "0.71132785", "0.6458504", "0.6438013", "0.63580984", "0.63150096", "0.62658715", "0.62518984", "0.6214874", "0.6175339", "0.6160559", "0.6110688", "0.6078053", "0.6075324", "0.60255647", "0.6011289", "0.59446317", "0.59353507", "0.5892991", "0.584646", "0.58391...
0.58888495
19
Performs the texttospeech operations : it takes a std::string as input and outputs a sound in both speakers. String encoding must be UTF8.
public void say(String stringToSay) throws DynamicCallException, ExecutionException{ call("say", stringToSay).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", ...
[ "0.7133384", "0.70081335", "0.6940137", "0.68561333", "0.66679907", "0.6647213", "0.65998316", "0.6458675", "0.6426908", "0.6370797", "0.63332516", "0.62385565", "0.6190026", "0.60953397", "0.6073654", "0.60710937", "0.5969809", "0.59571356", "0.5931564", "0.5931196", "0.5873...
0.0
-1
Performs the texttospeech operations in a specific language: it takes a std::string as input and outputs a sound in both speakers. String encoding must be UTF8. Once the text is said, the language is set back to its initial value.
public void say(String stringToSay, String language) throws DynamicCallException, ExecutionException{ call("say", stringToSay, language).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap....
[ "0.6921953", "0.68172973", "0.67011064", "0.66643095", "0.66362315", "0.63729286", "0.63577497", "0.6287926", "0.6269134", "0.6263338", "0.62586576", "0.62520325", "0.6208219", "0.6187394", "0.6150188", "0.609797", "0.6055687", "0.59223753", "0.59209913", "0.5881932", "0.5844...
0.5869316
20
Performs the texttospeech operations: it takes a std::string as input and outputs the corresponding audio signal in the specified file.
public void sayToFile(String pStringToSay, String pFileName) throws DynamicCallException, ExecutionException{ call("sayToFile", pStringToSay, pFileName).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String transcribe(String filePath) throws Exception {\n try (SpeechClient speech = SpeechClient.create()) {\n Path path = Paths.get(filePath);\n byte[] data = Files.readAllBytes(path);\n ByteString audioBytes = ByteString.copyFrom(data);\n\n // Conf...
[ "0.6997774", "0.6861216", "0.684034", "0.6834811", "0.67239356", "0.6715544", "0.66358566", "0.6562122", "0.64498", "0.63627297", "0.6160899", "0.6157641", "0.6142908", "0.6043319", "0.60196465", "0.5966681", "0.59054494", "0.5885393", "0.58781445", "0.5877661", "0.58763516",...
0.5364993
49
This method stops the current and all the pending tasks immediately.
public void stopAll() throws DynamicCallException, ExecutionException{ call("stopAll").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stop()\n {\n if (task == -1) {\n return;\n }\n\n library.getPlugin().getServer().getScheduler().cancelTask(task);\n task = -1;\n }", "private void stop()\n {\n if(running)\n {\n scheduledExecutorService.shutdownNow();\n ...
[ "0.75818574", "0.74289495", "0.72926134", "0.7241139", "0.72354466", "0.7073657", "0.7011232", "0.69066733", "0.6886921", "0.68617", "0.6829561", "0.67851484", "0.6774248", "0.6773359", "0.6754245", "0.67387027", "0.673153", "0.6720909", "0.6716232", "0.6705626", "0.67019624"...
0.0
-1
Changes the language used by the TexttoSpeech engine. It automatically changes the voice used since each of them is related to a unique language. If you want that change to take effect automatically after reboot of your robot, refer to the robot web page (setting page).
public void setLanguage(String pLanguage) throws DynamicCallException, ExecutionException{ call("setLanguage", pLanguage).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void changeLanguage(String newLanguage){\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"1\");\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"2\");\n\t}\n\t\n\t/*\n\tprefLan...
[ "0.76935446", "0.68138486", "0.6772208", "0.6762275", "0.6741529", "0.67091984", "0.66708803", "0.65843076", "0.65578693", "0.6545762", "0.6543704", "0.6534131", "0.652427", "0.64918834", "0.6459044", "0.64531463", "0.6444223", "0.64397603", "0.63385475", "0.6328847", "0.6317...
0.6014436
39
Returns the language currently used by the texttospeech engine.
public String getLanguage() throws DynamicCallException, ExecutionException { return (String)call("getLanguage").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static SupportedLanguage getLang() {\n\t\tif (SINGLETON == null) {\n\t\t\tSINGLETON = new I18nHelper();\n\t\t}\n\t\treturn SINGLETON.getAndroidLang();\n\t}", "public static String getLanguage() {\n return language;\n }", "java.lang.String getLanguage();", "java.lang.String getLanguage();", ...
[ "0.77348906", "0.77328646", "0.77286017", "0.77286017", "0.7670725", "0.75131494", "0.75131494", "0.7461687", "0.7461687", "0.7461687", "0.7456258", "0.7420789", "0.7410388", "0.7387452", "0.73805857", "0.73462516", "0.73444396", "0.7317569", "0.7317569", "0.72798485", "0.726...
0.7183504
29
Outputs the languages installed on the system.
public List<String> getAvailableLanguages() throws DynamicCallException, ExecutionException { return (List<String>)call("getAvailableLanguages").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void listAllAvailableLanguages() throws IOException {\n System.out.println(\n \"Language preprocessing components for the following languages are available:\\n \"\n + String.join(\", \", LanguageComponents.languages()));\n }", "public static void display(){\r\n Strin...
[ "0.7338095", "0.65004736", "0.6415805", "0.62764126", "0.6151226", "0.60640126", "0.60519016", "0.6041265", "0.603224", "0.5943683", "0.5921234", "0.59016836", "0.5891259", "0.58873606", "0.57510144", "0.5684077", "0.56762916", "0.5673222", "0.56569403", "0.5644943", "0.56449...
0.6406717
3
Outputs all the languages supported (may be installed or not).
public List<String> getSupportedLanguages() throws DynamicCallException, ExecutionException { return (List<String>)call("getSupportedLanguages").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void listAllAvailableLanguages() throws IOException {\n System.out.println(\n \"Language preprocessing components for the following languages are available:\\n \"\n + String.join(\", \", LanguageComponents.languages()));\n }", "public Future<List<String>> getAvailableLangua...
[ "0.8245451", "0.688995", "0.6863411", "0.6810753", "0.66088945", "0.6491758", "0.64848334", "0.64671636", "0.6382123", "0.6277347", "0.62463677", "0.6217344", "0.61330396", "0.6102834", "0.608755", "0.60575956", "0.60537523", "0.5948955", "0.5948955", "0.5948955", "0.5928743"...
0.6793977
4
Changes the parameters of the voice. For now, it is only possible to reset the voice speed.
public void resetSpeed() throws DynamicCallException, ExecutionException{ call("resetSpeed").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setSpeed(RobotSpeedValue newSpeed);", "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "void setPlaybackSpeed(float speed);", "public void setCurrentS...
[ "0.67723906", "0.6750525", "0.6646849", "0.6642439", "0.6560118", "0.6415535", "0.63888085", "0.6369595", "0.6357534", "0.63493836", "0.62617284", "0.62402654", "0.618791", "0.615332", "0.6135896", "0.6118323", "0.60915124", "0.6087207", "0.6078179", "0.6033817", "0.603021", ...
0.0
-1
Changes the parameters of the voice. The available parameters are: pitchShift: applies a pitch shifting to the voice. The value indicates the ratio between the new fundamental frequencies and the old ones (examples: 2.0: an octave above, 1.5: a quint above). Correct range is (1.0 4), or 0 to disable effect. doubleVoice...
public void setParameter(String pEffectName, Float pEffectValue) throws DynamicCallException, ExecutionException{ call("setParameter", pEffectName, pEffectValue).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "public void setVoiceEffect(int effectIndex) {\n mRtcEngine.setAudioEffectPreset(VOICE_EFFECTS[effectInd...
[ "0.6175119", "0.58480746", "0.5735963", "0.56986463", "0.56718105", "0.5340433", "0.5315627", "0.52851975", "0.52571577", "0.52494955", "0.5167493", "0.51343924", "0.5117341", "0.50725377", "0.5058832", "0.5040705", "0.5036658", "0.5018526", "0.4986352", "0.49591252", "0.4945...
0.0
-1
Returns the value of one of the voice parameters. The available parameters are: "pitchShift", "doubleVoice","doubleVoiceLevel" and "doubleVoiceTimeShift"
public Float getParameter(String pParameterName) throws DynamicCallException, ExecutionException { return (Float)call("getParameter", pParameterName).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public Future<String> getVoice() throws DynamicCallException, ExecutionException {\n return call(\...
[ "0.6458517", "0.6096142", "0.58445233", "0.57206106", "0.56691474", "0.5480875", "0.54434013", "0.5412369", "0.54046464", "0.5387539", "0.53852636", "0.53390574", "0.53390574", "0.5284837", "0.5249989", "0.5208773", "0.5204029", "0.51872665", "0.5185264", "0.5167931", "0.5158...
0.0
-1
Changes the voice used by the texttospeech engine. The voice identifier must belong to the installed voices, that can be listed using the 'getAvailableVoices' method. If the voice is not available, it remains unchanged. No exception is thrown in this case. For the time being, only two voices are available by default : ...
public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{ call("setVoice", pVoiceID).get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new ...
[ "0.66838866", "0.6579944", "0.63958335", "0.62801665", "0.6240995", "0.620556", "0.6187558", "0.6165799", "0.5974386", "0.57690734", "0.57591254", "0.575519", "0.57091093", "0.5671035", "0.56434476", "0.56392395", "0.5626069", "0.55632156", "0.55099446", "0.5469094", "0.54423...
0.6633363
1
Returns the voice currently used by the texttospeech engine.
public String getVoice() throws DynamicCallException, ExecutionException { return (String)call("getVoice").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSpeech() {\n\t\treturn speech;\n\t}", "public Future<String> getVoice() throws DynamicCallException, ExecutionException {\n return call(\"getVoice\");\n }", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public Integer getSpeechmode() {\n return spee...
[ "0.6951108", "0.6833691", "0.6774122", "0.6595037", "0.62533146", "0.6006491", "0.5966291", "0.5958066", "0.5948878", "0.5841451", "0.57600456", "0.56307817", "0.5626761", "0.56236297", "0.5607283", "0.5594044", "0.5589578", "0.5566571", "0.55424505", "0.55400425", "0.5526842...
0.7253505
0
Outputs the available voices. The returned list contains the voice IDs.
public List<String> getAvailableVoices() throws DynamicCallException, ExecutionException { return (List<String>)call("getAvailableVoices").get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@UML(identifier=\"voice\", obligation=OPTIONAL, specification=ISO_19115)\n Collection<String> getVoices();", "public Future<List<String>> getAvailableVoices() throws DynamicCallException, ExecutionException {\n return call(\"getAvailableVoices\");\n }", "public ArrayList<Voice> getAllVoiceCalls() ...
[ "0.7232068", "0.69906855", "0.6038723", "0.6000228", "0.54263043", "0.5388384", "0.53098524", "0.5296317", "0.5274049", "0.5260235", "0.5231657", "0.52248424", "0.5200227", "0.51969445", "0.5189087", "0.51225877", "0.5115731", "0.5067658", "0.50507116", "0.50002915", "0.49720...
0.72448987
0
Sets the volume of texttospeech output.
public Future<Void> setVolume(Float volume) throws DynamicCallException, ExecutionException{ return call("setVolume", volume); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setVolume(int volume);", "void setVolume(float volume);", "public void setVolume(int volume) {\n mBundle.putInt(KEY_VOLUME, volume);\n }", "public void setVolume(float volume) {\n }", "public void setVolume(int v) {\n volume = v;\n }", "@Override\r\n\tpubl...
[ "0.72373176", "0.7200419", "0.705331", "0.6962521", "0.69432354", "0.69421655", "0.69083726", "0.6881047", "0.68789434", "0.68511873", "0.6830264", "0.6810533", "0.6746328", "0.66954213", "0.6614386", "0.66137224", "0.65348554", "0.6534063", "0.6509293", "0.6486907", "0.64688...
0.5986499
37
Get the locale associate to the current language.
public Future<String> locale() throws DynamicCallException, ExecutionException { return call("locale"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Locale getLocale() {\n return localeInfo.get();\n }", "public String getLocale ( ) {\n\t\treturn extract ( handle -> getLocale ( ) );\n\t}", "java.lang.String getLocale();", "public Locale getLocale() {\n return getULocale().toLocale();\n }", "public java.util.Locale getLocale()...
[ "0.8199114", "0.78531945", "0.7701288", "0.7550378", "0.75391054", "0.75104076", "0.7492995", "0.7492995", "0.7404786", "0.73859173", "0.7366974", "0.73460907", "0.73443335", "0.73443335", "0.73443335", "0.73225504", "0.731144", "0.7301984", "0.73013395", "0.7295432", "0.7291...
0.66084254
83
Reset ALTextToSpeech to his default state.
public Future<Void> reset() throws DynamicCallException, ExecutionException{ return call("reset"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void reset() {\n \t\tif (currentSuggestion != null) {\n \t\t\tsetPromptingOff(currentSuggestion.getReplacementString());\n \t\t} else {\n \t\t\tif (focused) {\n \t\t\t\tsetPromptingOff(\"\");\n \t\t\t} else {\n \t\t\t\tsetPromptingOn();\n \t\t\t}\n \t\t}\n \t\thideSuggestions();\n \t\tLogger.getLogger(VSug...
[ "0.6227629", "0.6084782", "0.6034078", "0.60003453", "0.5972185", "0.5948185", "0.590352", "0.58898973", "0.5877981", "0.5869826", "0.5864241", "0.58546025", "0.58473414", "0.58125883", "0.58040386", "0.5799197", "0.5797071", "0.57908994", "0.5766306", "0.57597864", "0.575427...
0.0
-1
Loads a set of voice parameters defined in a xml file contained in the preferences folder.The name of the xml file must begin with ALTextToSpeech_Voice_
public Future<Void> loadVoicePreference(String pPreferenceName) throws DynamicCallException, ExecutionException{ return call("loadVoicePreference", pPreferenceName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadVoicePreference(String pPreferenceName) throws DynamicCallException, ExecutionException{\n call(\"loadVoicePreference\", pPreferenceName).get();\n }", "private void loadPreferences() {\n\t\tXSharedPreferences prefApps = new XSharedPreferences(PACKAGE_NAME);\n\t\tprefApps.makeWorldReadab...
[ "0.61436224", "0.5826217", "0.5822375", "0.56177", "0.5567722", "0.5554784", "0.5533914", "0.54798067", "0.54612917", "0.53747135", "0.5367621", "0.53328204", "0.5247214", "0.5237988", "0.52090865", "0.5184153", "0.5163576", "0.5142924", "0.51008284", "0.5095391", "0.508249",...
0.5796922
3
Add a word to the library
public Future<Boolean> addToDictionary(String type, String word, String priority, String phonetic, String accent) throws DynamicCallException, ExecutionException { return call("addToDictionary", type, word, priority, phonetic, accent); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addWord(Word word);", "public void add(String word) {\n Signature sig = new Signature(word);\n add(sig, word);\n }", "public void addWord(String word) {\n root.addWord(word);\n }", "public void addWord(String word) {\n\t\taddWord(word, root);\n\t}", "private void addC...
[ "0.83992296", "0.80525506", "0.7991349", "0.7718489", "0.7694721", "0.76325333", "0.75138825", "0.75032425", "0.74919796", "0.72720116", "0.72317094", "0.7203887", "0.7116307", "0.7101458", "0.7073688", "0.707267", "0.70510685", "0.70416933", "0.6982543", "0.6941838", "0.6913...
0.0
-1
Add a word to the library
public Future<Boolean> addToDictionary(String text, String toReplace) throws DynamicCallException, ExecutionException { return call("addToDictionary", text, toReplace); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addWord(Word word);", "public void add(String word) {\n Signature sig = new Signature(word);\n add(sig, word);\n }", "public void addWord(String word) {\n root.addWord(word);\n }", "public void addWord(String word) {\n\t\taddWord(word, root);\n\t}", "private void addC...
[ "0.83992296", "0.80525506", "0.7991349", "0.7718489", "0.7694721", "0.76325333", "0.75138825", "0.75032425", "0.74919796", "0.72720116", "0.72317094", "0.7203887", "0.7116307", "0.7101458", "0.7073688", "0.707267", "0.70510685", "0.70416933", "0.6982543", "0.6941838", "0.6913...
0.0
-1
Sets a voice as the default voice for the corresponding language
public Future<Void> setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{ return call("setLanguageDefaultVoice", Language, Voice); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setLanguageDefaultVoice(String Language, String Voice) throws DynamicCallException, ExecutionException{\n call(\"setLanguageDefaultVoice\", Language, Voice).get();\n }", "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If f...
[ "0.79046476", "0.7251996", "0.6555323", "0.63743305", "0.6344207", "0.6290455", "0.6279115", "0.627816", "0.59988576", "0.5972195", "0.58401513", "0.5751463", "0.5724904", "0.57234687", "0.57162154", "0.5710885", "0.5703532", "0.5677754", "0.56773996", "0.5632739", "0.5604371...
0.7616352
1
Fetches the current volume the text to speech.
public Future<Float> getVolume() throws DynamicCallException, ExecutionException { return call("getVolume"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getVolume();", "int getVolume();", "public int getVolume();", "public int getCurrentVolume() {\n return mCurrentVolume;\n }", "public float getConferenceLocalInputVolume();", "public long getCurrentVolume() {\n return currentVolume;\n }", "public float getSoundVolume() {...
[ "0.7070805", "0.7070805", "0.69306296", "0.6916613", "0.688398", "0.6853225", "0.6823838", "0.67877954", "0.6786532", "0.67211896", "0.67189515", "0.67166865", "0.67148983", "0.6697348", "0.6666358", "0.6660117", "0.6654993", "0.6651095", "0.6630046", "0.6615788", "0.66091526...
0.6503609
24
Exits and unregisters the module.
public Future<Void> exit() throws DynamicCallException, ExecutionException{ return call("exit"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void shutdown() {\r\n //shut down MbModule\r\n super.shutdown();\r\n }", "public void closeModule() {\n\n }", "@Deactivate\n public void deactivate()\n {\n m_PluginFactoryTracker.close();\n if (m_RegistryComponent != null)\n {\n m_RegistryCompone...
[ "0.64976", "0.6176508", "0.6146891", "0.60660416", "0.6062907", "0.60122496", "0.6006442", "0.59895074", "0.5931821", "0.5921244", "0.5917259", "0.5914479", "0.5886955", "0.5823562", "0.5815419", "0.58096945", "0.5775123", "0.5774169", "0.57511175", "0.57511175", "0.57511175"...
0.0
-1
Returns the version of the module.
public Future<String> version() throws DynamicCallException, ExecutionException { return call("version"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getModuleVersionNumber();", "public static String getVersion() {\n\t\treturn version;\r\n\t}", "public static String getVersion() {\n\t\treturn version;\n\t}", "public static String getVersion() {\n return version;\n }", "public static String getVersion() {\n return version;\n }"...
[ "0.82819444", "0.7960772", "0.79518926", "0.7929941", "0.7929941", "0.7891793", "0.7844212", "0.78223896", "0.78223896", "0.77541536", "0.77529544", "0.7728575", "0.7728575", "0.7728575", "0.7728575", "0.77003545", "0.76883316", "0.7668583", "0.7668583", "0.7657754", "0.76548...
0.0
-1
Just a ping. Always returns true
public Future<Boolean> ping() throws DynamicCallException, ExecutionException { return call("ping"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean ping();", "public Boolean ping() throws CallError, InterruptedException {\n return (Boolean)service.call(\"ping\").get();\n }", "public boolean ping() throws RemoteException;", "public static void ping() {}", "public static void ping() {}", "public Boolean ping() throws DynamicCa...
[ "0.8845639", "0.8238059", "0.8006794", "0.7943067", "0.7943067", "0.7808465", "0.77712655", "0.76494807", "0.75014174", "0.73969096", "0.73273414", "0.7260651", "0.7229501", "0.72251105", "0.7189689", "0.712402", "0.71221423", "0.70281667", "0.6972512", "0.6860707", "0.684764...
0.77283895
7
Retrieves the module's method list.
public Future<List<String>> getMethodList() throws DynamicCallException, ExecutionException { return call("getMethodList"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getMethodList() throws CallError, InterruptedException {\n return (List<String>)service.call(\"getMethodList\").get();\n }", "public List<IMethod> getMethods();", "public List<IMethod> getMethods();", "public List<MethodInfo> getMethods() { \n return lstMethodInfo;...
[ "0.7829236", "0.77760047", "0.77760047", "0.7696493", "0.7664593", "0.75727516", "0.75726587", "0.7502536", "0.7370253", "0.71531516", "0.71114945", "0.70975673", "0.70716906", "0.698054", "0.6850498", "0.6762948", "0.66372603", "0.66364896", "0.6591739", "0.65519613", "0.652...
0.76303226
5
Retrieves a method's description.
public Future<Object> getMethodHelp(String methodName) throws DynamicCallException, ExecutionException { return call("getMethodHelp", methodName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getDesc();", "public static String getDescription(Descriptor descriptor, Annotation... annotatedMethod)\n {\n String description = getDescription(annotatedMethod);\n if (description != null) {\n return description;\n }\n\n // If that didn't work, look for one in t...
[ "0.7386968", "0.73719776", "0.73255134", "0.7262818", "0.7262818", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", "0.7222321", ...
0.0
-1
Retrieves the module's description.
public Future<Object> getModuleHelp() throws DynamicCallException, ExecutionException { return call("getModuleHelp"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getModuleDescription();", "public String getDescription() {\n return m_module.getConfiguration().getDescription();\n }", "public ModuleDescriptionEntry getModuleDescriptionEntry();", "public String getDescription(){\n return getString(KEY_DESCRIPTION);\n }", "public String getDescripti...
[ "0.8615408", "0.81573033", "0.8122164", "0.7813136", "0.7709191", "0.7709191", "0.7709191", "0.7709191", "0.7685923", "0.76810414", "0.76810414", "0.7655621", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76443434", "0.76...
0.0
-1
Wait for the end of a long running method that was called using 'post'
public Future<Boolean> wait(Integer id, Integer timeoutPeriod) throws DynamicCallException, ExecutionException { return call("wait", id, timeoutPeriod); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Status waitUntilFinished();", "protected abstract void afterWait();", "public abstract void onWait();", "protected abstract long waitOnQueue();", "public void waitToFinish()\n {\n while(!this.finished)\n {\n try\n {\n Thre...
[ "0.65248805", "0.64061993", "0.6326983", "0.62300014", "0.6189211", "0.5951082", "0.592581", "0.5861554", "0.5832385", "0.5824845", "0.58009654", "0.5734476", "0.5674324", "0.56701475", "0.56633306", "0.5651908", "0.56235963", "0.5617723", "0.5597994", "0.55860174", "0.557758...
0.0
-1
Wait for the end of a long running method that was called using 'post', returns a cancelable future
public Future<Void> wait(Integer id) throws DynamicCallException, ExecutionException{ return call("wait", id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Status waitUntilFinished();", "public abstract T await();", "CompletableFuture<?> submit(Runnable request);", "Future<T> then(Runnable result);", "public synchronized void postRequestAndWait (final Runnable r) {\n postRequest (r, true);\n }", "public abstract void onWait();", "Completa...
[ "0.57789177", "0.5703307", "0.56828624", "0.5529016", "0.55216795", "0.5409305", "0.5408387", "0.5407686", "0.54008985", "0.5379518", "0.53475034", "0.530164", "0.5299487", "0.52890056", "0.5248549", "0.5241586", "0.5234607", "0.51884896", "0.5155278", "0.5154899", "0.5147835...
0.4727671
93
Returns true if the method is currently running.
public Future<Boolean> isRunning(Integer id) throws DynamicCallException, ExecutionException { return call("isRunning", id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning () {\n\t\t\tsynchronized (runningLock) {\n\t\t\t\treturn running;\n\t\t\t}\n\t\t}", "@Over...
[ "0.8049961", "0.8049961", "0.8049961", "0.8049961", "0.8049961", "0.8049961", "0.79817444", "0.7918957", "0.79077095", "0.787753", "0.787753", "0.787753", "0.787753", "0.787753", "0.7871202", "0.78544855", "0.783998", "0.7834024", "0.7827027", "0.78022796", "0.7772827", "0....
0.0
-1
returns true if the method is currently running
public Future<Void> stop(Integer id) throws DynamicCallException, ExecutionException{ return call("stop", id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "public boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRunning();", "boolean isRun...
[ "0.83002925", "0.83002925", "0.83002925", "0.83002925", "0.83002925", "0.83002925", "0.82184136", "0.82184136", "0.82184136", "0.82184136", "0.82184136", "0.7928427", "0.7928427", "0.7914384", "0.7903223", "0.78495246", "0.7828104", "0.7805607", "0.7801978", "0.77904487", "0....
0.0
-1
Gets the name of the parent broker.
public Future<String> getBrokerName() throws DynamicCallException, ExecutionException { return call("getBrokerName"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getParentName() {\n return getProperty(Property.PARENT_NAME);\n }", "public String getParentName() {\n return parentName;\n }", "public String getParentName() {\n return parentName;\n }", "public String getParentName() {\n\t\treturn parentName;\n\t}", "public String getBroke...
[ "0.71938586", "0.67875224", "0.6786647", "0.67777336", "0.66057146", "0.6414897", "0.6386604", "0.63159096", "0.6272106", "0.62446976", "0.61964726", "0.6178449", "0.61683613", "0.6156483", "0.60927993", "0.609205", "0.5988633", "0.5988633", "0.5977345", "0.5977345", "0.59610...
0.62380505
10
Gets the method usage string. This summarises how to use the method.
public Future<String> getUsage(String name) throws DynamicCallException, ExecutionException { return call("getUsage", name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String getUsage()\n {\n final StringBuilder usage = new StringBuilder(400);\n\n // Empty line before usage info\n usage.append(\"\\n \" \n // Describe commands/options\n + \"those <option> <command> <cmd-options> \\n\"\n...
[ "0.7153835", "0.7113183", "0.64574474", "0.6436373", "0.63557553", "0.63144106", "0.62647265", "0.6251661", "0.62160975", "0.6173847", "0.6159932", "0.61098677", "0.60781085", "0.6074676", "0.6025148", "0.60111564", "0.59445906", "0.5934366", "0.5892022", "0.5888068", "0.5845...
0.541283
58
Performs the texttospeech operations : it takes a std::string as input and outputs a sound in both speakers. String encoding must be UTF8.
public Future<Void> say(String stringToSay) throws DynamicCallException, ExecutionException{ return call("say", stringToSay); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void ConvertTextToSpeech(String voice1) {\n text=voice1;\n //text = et.getText().toString();\n if (text == null || \"\".equals(text)) {\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n } else\n tts.speak(text, TextToSpeech.QUEUE_FLUSH, null);\n }", ...
[ "0.7133564", "0.70084363", "0.6939407", "0.68556195", "0.66678935", "0.664662", "0.65990794", "0.6458779", "0.6427262", "0.6370714", "0.6332729", "0.62381864", "0.6191084", "0.609577", "0.60743386", "0.6070828", "0.5969258", "0.5957014", "0.5932301", "0.5931664", "0.58737916"...
0.0
-1
Performs the texttospeech operations in a specific language: it takes a std::string as input and outputs a sound in both speakers. String encoding must be UTF8. Once the text is said, the language is set back to its initial value.
public Future<Void> say(String stringToSay, String language) throws DynamicCallException, ExecutionException{ return call("say", stringToSay, language); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void ConvertTextToSpeech() {\n if (properties.get(selectedStateOrCountry) != null) {\n tts.speak(String.format(\"This is %s %s\", selectedStateOrCountry, properties.get(selectedStateOrCountry)),\n TextToSpeech.QUEUE_FLUSH, null);\n\n } else if (countryCapitalMap....
[ "0.69215024", "0.68173546", "0.6700163", "0.6663504", "0.66364783", "0.63713133", "0.6358397", "0.6288359", "0.6268556", "0.62629646", "0.6257736", "0.62506765", "0.6207591", "0.61870784", "0.61489266", "0.609621", "0.6055886", "0.59224105", "0.592108", "0.5880396", "0.586962...
0.57652473
23
Performs the texttospeech operations: it takes a std::string as input and outputs the corresponding audio signal in the specified file.
public Future<Void> sayToFile(String pStringToSay, String pFileName) throws DynamicCallException, ExecutionException{ return call("sayToFile", pStringToSay, pFileName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static String transcribe(String filePath) throws Exception {\n try (SpeechClient speech = SpeechClient.create()) {\n Path path = Paths.get(filePath);\n byte[] data = Files.readAllBytes(path);\n ByteString audioBytes = ByteString.copyFrom(data);\n\n // Conf...
[ "0.69969296", "0.6861346", "0.6840889", "0.6834466", "0.67235637", "0.6716431", "0.6635381", "0.6563109", "0.64502573", "0.6362124", "0.61609477", "0.61577594", "0.6142277", "0.6043056", "0.6019095", "0.5965993", "0.590591", "0.5885231", "0.587911", "0.5876553", "0.58760136",...
0.5218478
60
This method stops the current and all the pending tasks immediately.
public Future<Void> stopAll() throws DynamicCallException, ExecutionException{ return call("stopAll"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stop()\n {\n if (task == -1) {\n return;\n }\n\n library.getPlugin().getServer().getScheduler().cancelTask(task);\n task = -1;\n }", "private void stop()\n {\n if(running)\n {\n scheduledExecutorService.shutdownNow();\n ...
[ "0.7581409", "0.742876", "0.7293224", "0.724157", "0.723457", "0.7074226", "0.7012169", "0.6906132", "0.6888401", "0.6860279", "0.6830404", "0.67878646", "0.677254", "0.67716813", "0.6753539", "0.6738689", "0.67319894", "0.67200667", "0.67155105", "0.6705907", "0.66999346", ...
0.0
-1
Changes the language used by the TexttoSpeech engine. It automatically changes the voice used since each of them is related to a unique language. If you want that change to take effect automatically after reboot of your robot, refer to the robot web page (setting page).
public Future<Void> setLanguage(String pLanguage) throws DynamicCallException, ExecutionException{ return call("setLanguage", pLanguage); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void changeLanguage(String newLanguage){\n\tif (newLanguage.contentEquals(\"FR\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"1\");\n\t} else if (newLanguage.contentEquals(\"UK\")){\n\t\t((GameActivity) activity).setStringPreferences(\"language\", \"2\");\n\t}\n\t\n\t/*\n\tprefLan...
[ "0.7694105", "0.68126637", "0.6772344", "0.67625624", "0.67419916", "0.6710038", "0.6672323", "0.6585083", "0.6557697", "0.65465236", "0.65435797", "0.65348774", "0.6525176", "0.64929473", "0.64599824", "0.6453256", "0.6443754", "0.64399415", "0.6338892", "0.63301164", "0.631...
0.5814754
54
Returns the language currently used by the texttospeech engine.
public Future<String> getLanguage() throws DynamicCallException, ExecutionException { return call("getLanguage"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static SupportedLanguage getLang() {\n\t\tif (SINGLETON == null) {\n\t\t\tSINGLETON = new I18nHelper();\n\t\t}\n\t\treturn SINGLETON.getAndroidLang();\n\t}", "public static String getLanguage() {\n return language;\n }", "java.lang.String getLanguage();", "java.lang.String getLanguage();", ...
[ "0.7734142", "0.773055", "0.77267027", "0.77267027", "0.76685995", "0.7510603", "0.7510603", "0.74599785", "0.74599785", "0.74599785", "0.745425", "0.7418765", "0.7408687", "0.7385852", "0.7377994", "0.7343948", "0.7342796", "0.7314885", "0.7314885", "0.72772306", "0.72646075...
0.6953775
48
Outputs the languages installed on the system.
public Future<List<String>> getAvailableLanguages() throws DynamicCallException, ExecutionException { return call("getAvailableLanguages"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void listAllAvailableLanguages() throws IOException {\n System.out.println(\n \"Language preprocessing components for the following languages are available:\\n \"\n + String.join(\", \", LanguageComponents.languages()));\n }", "public static void display(){\r\n Strin...
[ "0.73395336", "0.6501963", "0.6406427", "0.6276628", "0.61535066", "0.6063946", "0.60517514", "0.604359", "0.603432", "0.5943835", "0.5921772", "0.5902186", "0.5892051", "0.5887307", "0.57508254", "0.568618", "0.5677859", "0.56746763", "0.5657574", "0.5645742", "0.5645742", ...
0.6415448
2
Outputs all the languages supported (may be installed or not).
public Future<List<String>> getSupportedLanguages() throws DynamicCallException, ExecutionException { return call("getSupportedLanguages"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void listAllAvailableLanguages() throws IOException {\n System.out.println(\n \"Language preprocessing components for the following languages are available:\\n \"\n + String.join(\", \", LanguageComponents.languages()));\n }", "public Future<List<String>> getAvailableLangua...
[ "0.824645", "0.6892323", "0.6812932", "0.6796683", "0.66099775", "0.6492234", "0.64854246", "0.64671624", "0.63838667", "0.6277369", "0.6245232", "0.62184465", "0.61328197", "0.6103768", "0.60879296", "0.60587144", "0.6052712", "0.5950212", "0.5950212", "0.5950212", "0.592797...
0.6866185
2
Changes the parameters of the voice. For now, it is only possible to reset the voice speed.
public Future<Void> resetSpeed() throws DynamicCallException, ExecutionException{ return call("resetSpeed"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setSpeed(RobotSpeedValue newSpeed);", "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "void setPlaybackSpeed(float speed);", "public void setCurrentS...
[ "0.67725736", "0.67510486", "0.6647054", "0.66427493", "0.6559685", "0.64159757", "0.63892233", "0.63694596", "0.63578236", "0.63495886", "0.6261078", "0.6240113", "0.61875737", "0.6153115", "0.6135073", "0.6118707", "0.6091385", "0.6087972", "0.6077971", "0.6034068", "0.6030...
0.0
-1
Changes the parameters of the voice. The available parameters are: pitchShift: applies a pitch shifting to the voice. The value indicates the ratio between the new fundamental frequencies and the old ones (examples: 2.0: an octave above, 1.5: a quint above). Correct range is (1.0 4), or 0 to disable effect. doubleVoice...
public Future<Void> setParameter(String pEffectName, Float pEffectValue) throws DynamicCallException, ExecutionException{ return call("setParameter", pEffectName, pEffectValue); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void configureVoice(Voice voice) {\n voice.setPitch(configurator.getPitch());\n voice.setVolume(configurator.getVolume());\n voice.setRate(configurator.getRate());\n }", "public void setVoiceEffect(int effectIndex) {\n mRtcEngine.setAudioEffectPreset(VOICE_EFFECTS[effectInd...
[ "0.61772174", "0.58489436", "0.5737683", "0.57021004", "0.5674018", "0.5342813", "0.5318733", "0.52872187", "0.5258321", "0.52499527", "0.51687205", "0.51367134", "0.51179457", "0.507519", "0.5059849", "0.504313", "0.50372165", "0.50187206", "0.4989198", "0.49606565", "0.4947...
0.0
-1
Returns the value of one of the voice parameters. The available parameters are: "pitchShift", "doubleVoice","doubleVoiceLevel" and "doubleVoiceTimeShift"
public Future<Float> getParameter(String pParameterName) throws DynamicCallException, ExecutionException { return call("getParameter", pParameterName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public Future<String> getVoice() throws DynamicCallException, ExecutionException {\n return call(\...
[ "0.64604443", "0.6097669", "0.58465827", "0.57223", "0.5670699", "0.54806066", "0.5443312", "0.54135567", "0.5405417", "0.53891444", "0.5386275", "0.5339111", "0.5339111", "0.52850467", "0.5250201", "0.52111924", "0.5205253", "0.51885444", "0.51863426", "0.51690143", "0.51576...
0.0
-1
Changes the voice used by the texttospeech engine. The voice identifier must belong to the installed voices, that can be listed using the 'getAvailableVoices' method. If the voice is not available, it remains unchanged. No exception is thrown in this case. For the time being, only two voices are available by default : ...
public Future<Void> setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{ return call("setVoice", pVoiceID); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void changeVoice(String voice) throws IOException{\r\n\t\tFile failed = new File(\".festivalrc\");\r\n\t\t//If file does not exist, create new file\r\n\t\tif(!failed.exists()) {\r\n\t\t\tfailed.createNewFile();\r\n\t\t} \r\n\r\n\t\t//Appending the word to the file\r\n\t\tWriter output;\r\n\t\toutput = new ...
[ "0.66835034", "0.66329986", "0.65805477", "0.63960314", "0.62805015", "0.6205794", "0.6187601", "0.6165323", "0.59747493", "0.5768438", "0.575953", "0.5755225", "0.5710489", "0.5670536", "0.5644226", "0.5639666", "0.56265897", "0.55638766", "0.5509833", "0.5469456", "0.544252...
0.62408435
5
Returns the voice currently used by the texttospeech engine.
public Future<String> getVoice() throws DynamicCallException, ExecutionException { return call("getVoice"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getVoice() throws DynamicCallException, ExecutionException {\n return (String)call(\"getVoice\").get();\n }", "public String getSpeech() {\n\t\treturn speech;\n\t}", "public Voice getVoice ()\r\n {\r\n return voice;\r\n }", "public Integer getSpeechmode() {\n retur...
[ "0.7253468", "0.69512236", "0.6773174", "0.6595864", "0.6253067", "0.60061026", "0.5966842", "0.5959058", "0.5949836", "0.58415943", "0.5759695", "0.56308407", "0.56279355", "0.562466", "0.5607293", "0.559354", "0.5589681", "0.55660236", "0.5542689", "0.5539092", "0.5526333",...
0.68332976
2
Outputs the available voices. The returned list contains the voice IDs.
public Future<List<String>> getAvailableVoices() throws DynamicCallException, ExecutionException { return call("getAvailableVoices"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getAvailableVoices() throws DynamicCallException, ExecutionException {\n return (List<String>)call(\"getAvailableVoices\").get();\n }", "@UML(identifier=\"voice\", obligation=OPTIONAL, specification=ISO_19115)\n Collection<String> getVoices();", "public ArrayList<Voice> getAllV...
[ "0.72459716", "0.7232695", "0.6038796", "0.6000239", "0.54260916", "0.5387859", "0.5308967", "0.52963686", "0.52735937", "0.52607816", "0.52332217", "0.5224644", "0.52006334", "0.5196457", "0.51907563", "0.5121848", "0.5116093", "0.5068287", "0.50505567", "0.49996522", "0.497...
0.6991889
2