dfm is the file format Delphi uses for designing Windows resources like window layouts etc.
Questions tagged [dfm]
91 questions
0
votes
3 answers
ngram refer back to docname in quanteda
I am trying to create a datatable similar to the output from quanteda::textstat_frequency but with one more column, docnames, which is a string of doc names that contain the specific token.
E.g.
a_corpus <- quanteda::corpus(c("some corpus text of…

Lighting Minds
- 85
- 1
- 3
0
votes
1 answer
Quanteda: how to get ngrams, and their frequences, given n-1 predecessor words/types
For next word prediction using ngrams I would need to find all the ngrams (and their frequencies) given n-1 predecessor words.
In dfm I could not see any way to do that, so started implementing it manually on texstat_frequency (data.frame).
After…

user778806
- 67
- 6
0
votes
1 answer
add docvars to dfm from separate data.frame r
After spending much time developing the proper corpus (e.g. stopwords, tf-idf) I created a dtm in the tmpackage and ran my topic model.
I then proceeded to compare the topics to some document level covariates of interest, only to learn that stm…

SeekingData
- 115
- 6
0
votes
3 answers
Delphi 7 strange disappearance of FormCreate event handler in dfm
I'm using Tortoise SVN with Delphi 7 and I always have to check the dfm before I commit... but I have a Delphi 7 DFM which has somehow lost it's FormCreate and FormShow event handles! I know that moving the form inside the Delphi IDE causes the dfm…

Sam
- 2,663
- 10
- 41
- 60
0
votes
1 answer
STM: estimating metadata/topic relationships when starting from dfm
After running an STM model based on a Quanteda dfm, I want to estimate my covariates' effects on certain topics.
Running the STM model went fine, producing the topics as expected, but when using estimateEffect (in the final step in the script below)…

Rens
- 492
- 1
- 5
- 14
0
votes
2 answers
Delphi how to do SearchReplace in a component property in all the files of a project?
I need to do a SearchReplace in all my forms (all the dfm) for changing all the occurences of ':' to ';' in all the TQuery.Strings (of type TStrings).
How can I accomplish this? I'd like to do it at desing time: I would like that my dfm contain ";",…

UnDiUdin
- 14,924
- 39
- 151
- 249
0
votes
0 answers
Borland Delphi file syntax
I have question about the DFM file syntax. Could anybody tell me what mean the number in square brackets in below code?
object sbtName: TSpeedButton [7]
Left = 0
Top = 354

Ahemski
- 93
- 8
0
votes
5 answers
Delphi 7 RLINK32 Error reading dfm file - failed read
I just run into a problem that came out of nowhere...
A DFM file gets read just fine from Delphi when project is built, but when I build it from command line (dcc32) I get error Error: RLINK32: Error reading file "update.dfm" Failed read
What is…

Sofija
- 713
- 11
- 14
0
votes
1 answer
How can I fix a dfm error when combining a VectorSource corpus and a dictionary?
I'm trying to recreate the following statistics program from the web page Analyzing the US elections with Facebook and R.
I've had to stray from the original code in order to get it to work, but I can't seem to get past the following error:
> #…

A.Coder
- 51
- 3
- 8
0
votes
0 answers
Information criteria for selecting the number of factors
I´m looking for a package in R to calculate the information criteria by Bai and Ng for selecting the number of factors in the model. I found POET, but it only provides two of three criteria. (see page 201, equation (9) in…

nelakell
- 189
- 2
- 13
0
votes
1 answer
Is there an option in Delphi to keep the Form controls in the same order as the DFM?
I just created a new VCL application and placed the following controls on the form in this order:
MainMenu
ToolBar
StatusBar
The controls appear in the TForm class in the order I added them to the form. When I compare the TForm class to the DFM…

Michael Riley - AKA Gunny
- 5,074
- 4
- 42
- 89
0
votes
1 answer
Custom property flow reading error
I'm a french user of Delphi 2010 so please excuse my bad english.
I've created a control from a TCustomControl. This control have a TOwnedCollection populated by TCollectionItem descendant.
Those Items have a published custom list property. This…

Pedrault
- 3
- 3
0
votes
4 answers
Modify a Delphi DFM resource to close upon showing?
Is it possible to edit a DFM (Delphi's form script format) in such a way that a form closes itself when shown?
I don't code in Delphi, so I'm not familiar with how these forms work, but it seems I could put code (but not standard Delphi code as it…

Camilo Martin
- 37,236
- 20
- 111
- 154
0
votes
1 answer
DFM file became binary and infected
We have a DFM file which began as text file.
After some years, in one of our newer versions, the Borland Developer Studio changed it into binary format.
In addition, the file became infected.
Can someone explain me what should I do now? Where can I…

Aharon
- 117
- 1
- 1
- 14
-1
votes
1 answer
How do i reshape my data from y-m-d into years?
I want to plot a frequency of topics over years.
However my variable containing dates have the following structure, example:2016-01-01. This means that the data is structured in days.
However i want the data to be visualized on a monthly basis.…

Gustav Skov
- 45
- 7