input
stringlengths 10
828
| output
stringlengths 5
107
|
|---|---|
public adapter create xcst attribute adapter return null
|
creates a new adapter for an object of class
|
public adapter create xcst values adapter return null
|
creates a new adapter for an object of class
|
protected void add xclass property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xreference x class feature get string ui property descriptor description ui xreference x class feature ui xreference type model package literals xreference xclass true false true null null null
|
this adds a property descriptor for the xclass feature
|
protected void add unique property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xfeature unique feature get string ui property descriptor description ui xfeature unique feature ui xfeature type model package literals xfeature unique true false false item property descriptor boolean value image null null
|
this adds a property descriptor for the unique feature
|
protected void add ordered property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xfeature ordered feature get string ui property descriptor description ui xfeature ordered feature ui xfeature type model package literals xfeature ordered true false false item property descriptor boolean value image null null
|
this adds a property descriptor for the ordered feature
|
protected void add xclass property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xattribute x class feature get string ui property descriptor description ui xattribute x class feature ui xattribute type model package literals xattribute xclass true false true null null null
|
this adds a property descriptor for the xclass feature
|
protected void add xobject property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xcst values x object feature get string ui property descriptor description ui xcst values x object feature ui xcst values type model package literals xcst values xobject true false true null null null
|
this adds a property descriptor for the xobject feature
|
protected void add abstract property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xclass abstract feature get string ui property descriptor description ui xclass abstract feature ui xclass type model package literals xclass abstract true false false item property descriptor boolean value image null null
|
this adds a property descriptor for the abstract feature
|
protected void add xsuper class property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xclass x super class feature get string ui property descriptor description ui xclass x super class feature ui xclass type model package literals xclass xsuper class true false true null null null
|
this adds a property descriptor for the xsuper class feature
|
protected void add xsub classes property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xclass x sub classes feature get string ui property descriptor description ui xclass x sub classes feature ui xclass type model package literals xclass xsub classes true false true null null null
|
this adds a property descriptor for the xsub classes feature
|
protected void add xobject property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xrelation x object feature get string ui property descriptor description ui xrelation x object feature ui xrelation type model package literals xrelation xobject true false true null null null
|
this adds a property descriptor for the xobject feature
|
protected void add xreferences property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xclass x references feature get string ui property descriptor description ui xclass x references feature ui xclass type model package literals xclass xreferences true false true null null null
|
this adds a property descriptor for the xreferences feature
|
protected void add first object property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xclass first object feature get string ui property descriptor description ui xclass first object feature ui xclass type model package literals xclass first object true false false item property descriptor integral value image null null
|
this adds a property descriptor for the first object feature
|
protected void add id property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xelement id feature get string ui property descriptor description ui xelement id feature ui xelement type model package literals xelement id true false false item property descriptor integral value image null null
|
this adds a property descriptor for the id feature
|
protected void add xattributes property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xclass x attributes feature get string ui property descriptor description ui xclass x attributes feature ui xclass type model package literals xclass xattributes true false true null null null
|
this adds a property descriptor for the xattributes feature
|
protected void add name property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xelement name feature get string ui property descriptor description ui xelement name feature ui xelement type model package literals xelement name true false false item property descriptor generic value image null null
|
this adds a property descriptor for the name feature
|
protected void add xobjects property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xclass x objects feature get string ui property descriptor description ui xclass x objects feature ui xclass type model package literals xclass xobjects true false true null null null
|
this adds a property descriptor for the xobjects feature
|
protected void add xclass property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xobject x class feature get string ui property descriptor description ui xobject x class feature ui xobject type model package literals xobject xclass true false true null null null
|
this adds a property descriptor for the xclass feature
|
protected void add from property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xatt feature from feature get string ui property descriptor description ui xatt feature from feature ui xatt feature type model package literals xatt feature from true false true null null null
|
this adds a property descriptor for the from feature
|
protected void add xobject property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xvar values x object feature get string ui property descriptor description ui xvar values x object feature ui xvar values type model package literals xvar values xobject true false true null null null
|
this adds a property descriptor for the xobject feature
|
protected void add from property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xref feature from feature get string ui property descriptor description ui xref feature from feature ui xref feature type model package literals xref feature from true false true null null null
|
this adds a property descriptor for the from feature
|
protected void add to property descriptor object object item property descriptors add create item property descriptor composeable adapter factory adapter factory get root adapter factory get resource locator get string ui xref feature to feature get string ui property descriptor description ui xref feature to feature ui xref feature type model package literals xref feature to true false true null null null
|
this adds a property descriptor for the to feature
|
public iproperty sheet page get property sheet page if property sheet page null property sheet page new extended property sheet page editing domain override public void set selection to viewer list selection constraint editor this set selection to viewer selection constraint editor this set focus override public void set action bars iaction bars action bars super set action bars action bars get action bar contributor share global actions this action bars property sheet page set property source provider new adapter factory content provider adapter factory return property sheet page
|
this accesses a cached version of the property sheet
|
public boolean is buffer locked return this buff locker size 0
|
buff locker isegmenter
|
public void destroy super destroy just puts destroy string in log put your code here enumeration emnue this get servlet context get attribute names for emnue has more elements string name string emnue next element this get servlet context remove attribute name log info name unloaded now
|
destruction of the servlet
|
public string get servlet info return this get class get name
|
returns information about the servlet such as author version and
|
public string get servlet info return this get servlet name
|
returns information about the servlet such as author version and
|
public void init throws servlet exception put your code here super init
|
initialization of the servlet
|
public boolean authentication login user o return userdao get user o null false true
|
business method inherit by business facade intetface
|
public void add error string error generic errors add error
|
adds a generic error
|
public igroup2 document dao get group2ddao return groupdocdao
|
bean method user as spring ioc
|
public throwable get root cause return original
|
retrieve original exception
|
private input stream load throws illegal argument exception input stream is null for int i 0 i config locations length i string location config locations i try url resource get resource location this get class if resource null is resource open stream if we have found something then stop looking if is null return is catch exception e do nothing if is null string exception message could not load propertyset config using config locations please check your classpath throw new illegal argument exception exception message return is
|
load the config from locations found in
|
public collection get verifiers return collections unmodifiable collection verifiers
|
returns unmodifiable list of verifiers
|
public void validate object value throws property exception iterator i verifiers iterator while i has next property verifier pv property verifier i next hmm do we need a try catch try pv verify value catch verify exception ex throw new illegal property exception ex get message
|
validate a given value against all verifiers
|
public int get type string key throws unsupported operation exception throw new unsupported operation exception property set does not support types
|
this is an untyped property set implementation so this method will always
|
private void clear destination throws property exception iterator keys destination get keys iterator while keys has next string key string keys next destination remove key
|
clear all properties that already exist in destination property set
|
public void load reader in throws parser configuration exception ioexception saxexception load from document xmlutils parse in
|
load properties from xml input
|
public int get type string key throws property exception iterator i property sets iterator while i has next property set set property set i next try return set get type key catch property exception ex if we don t really care about these log is debug enabled we don t really care about these log debug error checking type of key ex throw new property exception no key key found
|
checks all propertysets for the specified property
|
public void load input stream in throws parser configuration exception ioexception saxexception load from document xmlutils parse in
|
load properties from xml input
|
public void save writer out throws parser configuration exception ioexception xmlutils print save to document out
|
save properties to xml output
|
public void save output stream out throws parser configuration exception ioexception xmlutils print save to document out
|
save properties to xml output
|
public void set string string key string value if value null value length 255 throw new illegal property exception string exceeds 255 characters set string key value
|
throws illegal property exception if value length greater than 255
|
public workflow descriptor get workflow descriptor string workflow name try return get configuration get workflow service get workflow descriptor workflow name catch store exception e todo auto generated catch block e print stack trace return null
|
returns a workflow definition object associated with the given name
|
public string to string string buffer result new string buffer result append get class get name result append n try iterator keys get keys iterator while keys has next string key string keys next int type get type key if type 0 result append t result append key result append result append get type key result append n catch property exception e to string should never throw an exception result append n return result to string
|
simple human readable representation of contents of property set
|
public void on create bundle saved instance state super on create saved instance state set content view r layout results button done btn button find view by id r id done btn done btn set on click listener new on click listener public void on click view view intent intent new intent set result result ok intent finish
|
called when the activity is first created
|
public void on create bundle saved instance state super on create saved instance state set content view r layout results get statistics of the conversation convo new conversation sdcard test l seg set up button to exit this view button done btn button find view by id r id done btn done btn set on click listener new on click listener public void on click view view intent intent new intent set result result ok intent finish
|
called when the activity is first created
|
public void set string name double score cluster double score speaker this name name this score cluster score cluster this score speaker score speaker number of score cluster 1 number of score speaker 1
|
set a new speaker name
|
public double get score cluster return score cluster
|
gets the score
|
public void set score cluster double score number of score cluster 1 this score cluster score
|
sets the score
|
public speaker name get string name we should normalize before putting name speaker name utils normalize speaker name name replace to lower case if container contains key name return container get name if container by score null is sorted false put name put name return container get name
|
gets the speaker name or create it
|
public speaker name put speaker name o if container by score null is sorted false return container put o get name o
|
put the speaker name instance
|
public double get score speaker return score speaker
|
gets the score
|
public void set score speaker double score number of score speaker 1 this score speaker score
|
sets the score
|
public speaker name remove string name if container by score null is sorted false return container remove name
|
removes the speaker name
|
public double get score return score speaker score cluster
|
gets the product of scores
|
public void debug system out println t name name score get score score speaker score speaker score cluster score cluster produit get score get score number of score cluster number of score cluster
|
print debug information
|
public void set information string key object value this information put key value
|
sets an information
|
protected void sort by score system err println debug sort by score container by score new tree set speaker name container values is sorted true
|
sort by score
|
public object get information object key return this information get key
|
gets the information
|
public speaker name get max score system err println debug get max score if container by score null is sorted false sort by score if container by score size 0 system err println debug return null return null system err println debug return first return container by score first
|
gets the max score
|
public string get information string key if this information get key null return this information get key to string else return null
|
gets the information
|
public int get id of link set return id of link set
|
gets the id of link set
|
protected void set id of link set int id of link set this id of link set id of link set
|
sets the id of link set
|
public int get id link return id of link
|
gets the id link
|
protected void set id link int id link this id of link id link
|
sets the id link
|
public void add int index link link list add index link
|
adds the link at position index
|
public boolean add link link return list add link
|
adds the link at the and of the container
|
public link get last link return list get list size 1
|
gets the last link
|
public link get link int index return list get index
|
gets the link at position index
|
protected void set probability double probability this probability probability
|
sets the probability
|
public boolean add path int graph int link return list of link add new path graph link
|
adds the path
|
public string get list of words string result for path path this if result result result link set get link path id of link word return result
|
gets the list of words
|
public segment get int i return segments get i
|
gets the segment at position i
|
public segment first return segments get 0
|
return the first segment
|
public segment last return segments get segments size 1
|
return the last segment
|
public cluster get cluster return first get cluster
|
gets the cluster link to segments
|
public entity get id entity return entity
|
gets the id entity
|
public void set id entity entity entity this entity entity
|
sets the id entity
|
protected void set word string word this word word
|
sets the word
|
public void put entity in word if get id entity null word entity get type
|
put entity in word
|
public int get cluster end int ci cluster cluster cluster and model list get ci get cluster int s cluster segments size if s 1 if param trace system err println warning biclclustering get cluster end t more than 1 segment in the cluster size s return cluster first segment get last
|
gets the index of the last feature of the cluster
|
public cluster get cluster return cluster
|
gets the cluster
|
public int get cluster start int ci return cluster and model list get ci get cluster first segment get start
|
gets the index of the first feature of the cluster
|
public gmm get model return model
|
gets the model
|
public double get model score return model score
|
gets the model likelihood score
|
public double get ubmscore return ubmscore
|
gets the ubm likelihood score
|
public void set cluster cluster cluster this cluster cluster
|
sets the cluster
|
public void set model gmm model this model model
|
sets the model
|
public void set model score double model score this model score model score
|
sets the model likelihood score
|
public void set ubmscore double score ubmscore score
|
sets the ubm likelihood score
|
public cluster get cluster int index return cluster and model list get index get cluster
|
direct access to a cluster through its index
|
public string get cluster name int index return cluster and model list get index get cluster get name
|
get the name of a cluster given its index
|
protected void compute world model scores throws diarization exception ioexception for int i 0 i cluster and model list size i cluster and gmm cluster and gmm cluster and model list get i cluster cluster cluster and gmm get cluster double score if param parameter top gaussian get score ntop 0 score distance get score set top world model param parameter top gaussian get score ntop cluster iterator features else score distance get score world model cluster iterator features cluster and gmm set ubmscore score
|
compute the world model scores
|
public cluster set get cluster set return clusters
|
access to the inner clusters
|
public double get log likelihood of clustering double res 0 for int i 0 i cluster and model list size i res cluster and model list get i get model score return res length
|
gets the log likelihood of clustering
|
public square matrix get distances return distances
|
gets the distances
|
public double get log likelihood ratio of clustering double res 0 double res2 0 for int i 0 i cluster and model list size i res cluster and model list get i get model score res2 cluster and model list get i get ubmscore return res length res2 length
|
gets the log likelihood ratio of clustering
|
public cluster get first candidate return cluster and model list get ci get cluster
|
get the cluster with index ci
|
public gmm get world model return world model
|
gets the world model
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.