Questions tagged [vcd]

VCD (Voice Command Definition) is a file that specifies an action or command to execute. Used by Cortana

28 questions
4
votes
2 answers

R vcd::mosaic overlapping labels

I'm generating a mosaic plot with vcd::mosaic. But the text of the factors I was given are very long (cutting them is not an option, and with so many instances, introducing \n seems daunting), so there's an overlap in the texts, and I haven't been…
PavoDive
  • 6,322
  • 2
  • 29
  • 55
4
votes
1 answer

Dynamically modify VCD windows 8.1(RT)

I am trying to modify the VCD I created dynamically from the app. I refered to various articles/documentations. I have the following code: Windows.ApplicationModel.VoiceCommands.VoiceCommnadDefinition.VoiceCommandSet commandSetEnUs; if…
iam.Carrot
  • 4,976
  • 2
  • 24
  • 71
3
votes
1 answer

How to link list elements from 2nd to last element in Python

I am trying to extract the time and signal change from a .vcd file (Value change dump) in Python for analysis. What I got: # 100 (this is the timestamp) ['0', '#', '%'] ['1', '@', '!'] What I hope to get: # 100 ['0', '#%'] ['1', '@!'] This is my…
moonplant
  • 47
  • 1
  • 6
2
votes
1 answer

generate register delay for simulation in chisel

When I am using Verilog, I would like to define a register like this: reg [7:0] cnt; always @ (posedge clk) begin cnt <= #1 cnt + 1; end Because of using #1, the register will change a little bit behind the clk posedge in the waveform, and it…
DDK
  • 136
  • 1
  • 1
  • 11
2
votes
2 answers

Mosaic plot/grid plot in black and white for dummies

I have a data set consisting of dummies, which looks like follows: # Example data set.seed(123) data <- data.frame(x1 = rbinom(10, 1, 0.3), x2 = rbinom(10, 1, 0.6), x3 = rbinom(10, 1, 0.5)) I want to create a…
Joachim Schork
  • 2,025
  • 3
  • 25
  • 48
2
votes
0 answers

Cortana BackgroundTask Integration

So I'm trying to integrate Cortana in my Universal Windows app using Background task, because I need to build conversation with Cortana. I was following samples from here The sample above is using IBackgroundTask to build conversation and…
1
vote
1 answer

Including NA Values in structable()

I would like to make a contingency table using the vcd package structable function. Two of my selected columns (consent_a and consent_b) has NA values as well as factor (Yes, No) values, because each case can be consented for procedure a OR…
MC_W
  • 26
  • 3
1
vote
1 answer

dynamically populate VoiceCommand PhraseList, Error VoiceCommandSet not found

I am looking for a way to dynamically populate my VCD file. I have a Code snippet from the Windows documentation that reads as follows: Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition.VoiceCommandSet commandSetEnUs; if…
7gegenTheben
  • 81
  • 1
  • 10
1
vote
0 answers

Register multiple voice command definition files with Cortana

Is there any way to register multiple voice command definition files with Cortana UWP? I have an application which responds to custom cortana commands. Since the number of commands my application will respond to is large, I would like to split them…
1
vote
0 answers

How to access information about overlap of adjacent rings in a fourfold plot

Using the package vcd in R one can produce a fourfold plot of two categorical vectors and record it the following way vcd::fourfold(table(x,y)) fourfold_plot <- recordPlot() I am interested in extracting the information about the overlap of…
blindeyes
  • 409
  • 3
  • 13
1
vote
0 answers

Cortana custom commands not installed onto windows 8.1 phone

I am looking forward to make Cortana redirect custom commands to my app (Cortana API Integration). Commands.xml
1
vote
2 answers

Cortana Windows 10 UWP Integration - Using {*} in VCD

In the specification for vcd files, it says that {*} is used to match anything. However for he example command: I had a burger for lunch
Stevenyc091
  • 195
  • 1
  • 2
  • 22
1
vote
2 answers

Hey Cortana, how to handle multiple VCD languages in code?

In my app, I want to give the user the opportunity to switch a light on and off with voice commands (via Cortana for example). I understand the VCD concept and really like but I don't know how to handle the different languages in my code. Given I…
Robin-Manuel Thiel
  • 2,206
  • 19
  • 26
1
vote
1 answer

How to get xlab and ylab to work in mosaic plots in vcd package

For some reason I cannot get xlab and ylab to work in mosaic plots in vcd package. I tried: mosaic(~Sex +Survived, data=Titanic, shade=T, legend=T, main="myplot", labeling_args=list(abbreviate = c( Sex=2,…
Studiosa
  • 21
  • 3
1
vote
1 answer

How to specify annotations in VCD files?

In a VCD file I would like to specify that some events occurred at a particular time. To that end, I tried to define a single bit signal which value is almost the time 0, and switching this value to 0 and then back to 1 in the same time (at the time…
Manuel Selva
  • 18,554
  • 22
  • 89
  • 134
1
2