Questions tagged [keyword]
Keywords are special words used as identifiers by a language. They are reserved words accepted by a compiler or interpreter, and thus should not (or cannot) be used as a variable or function name.
2,447
questions
0
votes
0
answers
34
views
Shouldn't importing print_function change the keyword.kwlist in python2?
In python-2.7, shouldn't the keyword.kwlist be updated after importing print_function from __future__?
Python 2.7.18 (default, Feb 1 2021, 00:00:00)
[GCC 10.2.1 20201125 (Red Hat 10.2.1-9)] on ...
-3
votes
1
answer
75
views
Is there a way to rename keywords in c# for custom ones? [closed]
As a fun project and making some people laugh, I want to create a project that renames keywords such as true and false into something funnier in C#.
For example, replace True with Yass
How would I go ...
0
votes
0
answers
21
views
"Get Elements" in robotframework-browser doesn't return references anymore
I have an issue with Get Element keyword in robotframework-browser 17.5.2 version.
Before that on our project we used version 16.3.0 and Get Elements keyword returned a list with some references on ...
1
vote
1
answer
38
views
How to correctly handle misplaced keywords in FParsec preserving FParsec's inbuit error messages and positions?
This is kind of duplicate to FParsec identifiers vs keywords, but the answer there isn't helpful in my case.
A common problem in writing parsers for programming languages is handling syntax errors ...
0
votes
0
answers
15
views
Natural Language Understanding - IBM Tool
I have written 2000 words of content to analyse in IBM toolm for natural language processing. And i want to target "foods for acidity" keyword in my content but it is not showing any ...
1
vote
2
answers
52
views
How to remove words from one column by comparing another column in Pandas
I am trying to automatically generate keywords by using some machine learning algorithm. In that process, on the outcome I also see some unwanted keywords are also generated, and now I need to remove ...
0
votes
0
answers
66
views
Unable to call Python method from Robot Framework: No keyword with the name 'method_name' was found
I'm facing an issue when trying to call a Python method from a Robot Framework test case. I have the following Python method defined in a file named campaign.py:
def print_something_test(self, text): ...
4
votes
1
answer
37
views
ElasticSearch search list of keywords with possible typos
What is the best approach for searching some keywords inside a field that contains a big text in a ElasticSearch index?
I have some words that I want to search inside a field named my_field with ...
0
votes
1
answer
29
views
Create timestamp based on a keyword
I would like to make a function that will create a timestamp whenever a particular keyword is mentioned within a variable I created. The variable is meant to get the last row and column within a sheet....
1
vote
2
answers
86
views
Access VBA: Me Keyword in Public Procedure's Optional Argument Default Value?
Can one use the Me keyword in defining the default value of an optional argument to a public procedure, in VBA? An hour or two of Googling around yields no guidance.
Several parameter / search forms ...
-1
votes
1
answer
59
views
Extracting common keywords that appear in a dataset but do not appear in another dataset
I have two dataset:
Dataset#1: a dataset with 26.7M reviews written in Modern standard Arabic.
Dataset#2: a dataset with 16K reviews written in both Modern standard Arabic and colloquial Arabic.
I ...
1
vote
1
answer
111
views
Why does the C# "in" keyword worsen performance?
I have been testing various ways to improve performance in C#. One of the things that was suggested was using ref and in, to pass objects by reference instead of by value.
The ref keyword worked great!...
0
votes
2
answers
76
views
Compiler error in the statement "a->friend = b;"
unable to assign a shared pointer of a class to another shared pointer which is a member of the same class . expected unqualified-id before ‘friend’
#include <iostream>
#include <memory>
#...
5
votes
0
answers
55
views
What commit message parameters does github support?
Github has functionality to interpret various things in your commit message. For example, the Co-authored-by: name <email> tag specifies multiple authors which then show up in the github commit ...
0
votes
0
answers
17
views
How to reduce search result inaccuracies?
Context:
I am a Product Manager working on a database search product.
I used the search form and entered "Cov" in the disease search box. The autosuggest drop-down appeared, and I selected &...
-1
votes
1
answer
64
views
how to create a robot keyword using python
can you help me, please?
I want to create a robot keyword using Python, not the robot framework: meaning not a robot resource file but a Python file. This keyword is going to be used later in a robot ...
1
vote
1
answer
42
views
I just got one question that I am confused from an interview. "What is the keyword that uses with overloading?"
I was in an interview for Java SEDT. The interviewer asked me this question: "What is the keyword that uses with overloading?"
I answered that overloading doesn't need keyword, we can do ...
3
votes
1
answer
99
views
Is lowercase "begin" a Perl keyword?
I'm running Perl scripts version 5.28 under Linux Debian with some experimental "extensions" and got an strange behavior. In a mixed Pascal-SQL-Perl programming session, I miss typed a ...
0
votes
1
answer
17
views
Can't access keyword in React.js
I am trying to access a keyword in order to display "You are searching for (any keyword)" but it displays "You are searching for undefined". Can you identify the issue? Thank you ...
-3
votes
1
answer
52
views
What is this 'nonlocal' keyword is doing is this decorator? [closed]
I created this decorator to save the output of a function to a csv file (so the team can easily read it).
def save_to_csv(directory, file_name = None):
def decorator(func):
def wrapper(*...
0
votes
0
answers
80
views
Building a custom search engine that can search 1000 websites at once
I want to I build a custome search engine that has hundreds of websites. The problem with google's programmable search engine is that it becomes less accurate after 20 sites ""If your ...
0
votes
1
answer
37
views
Dynamic default parameters in python
I am making a function for buttons, it accepts a keyword (or default, idk what the term is) argument for mouse position, is there a way i can set the default value to be whatever a variable is.
...
0
votes
1
answer
86
views
I want to force a certain keyword when creating a function
For example,
all functions must include the _inline keyword.
If not, a build error should occur.
_inline int somefunction()
{
return 0;
}
int somefunction2()
{
return 0;
}
int main()
{
...
1
vote
1
answer
77
views
python class inheritence in robotframework
I have made a python class which will use as library in robotframework
python file name is : myclass.py
Code as follows:
class myclass:
def test0(self):
print("Test ...
0
votes
0
answers
6
views
clustering co-occuring words around one specific keyword
I want to detect which words co-occur around one particular topic I am interested - e.g., let's say my interest topic is "economic policy" and I have 100 documents as data. I want to extract ...
0
votes
0
answers
42
views
Scrape all urls from google-search-results, with lists of keywords?
I have a list of keywords, >300 keywords.
I would like to scrape all urls (+title) from google-search-results. I manually search word by word , and get list of keys by addon Linkclumb/Grabber
Is ...
1
vote
0
answers
31
views
Trying to scrape Reddit data and not finding the results
#Search for posts relating to keywords
keywords = []
search_term='handbags'
keyword='color'
ml_subreddit = reddit.subreddit('handbags')
if (len(sys.argv)>1):
search_term=(sys.argv[1])
if (...
40
votes
5
answers
6k
views
Why is the 'auto' keyword useful for compiler writers in C?
I'm currently reading "Expert C Programming - Deep C Secrets", and just came across this:
The storage class specifier auto is never needed. It is mostly meaningful to a compiler-writer
...
0
votes
1
answer
71
views
Disable SVN keywords expansion for `svn checkout` / `svn update`?
While it is possible to do it with svn export, I found no way to do it with svn checkout or svn update.
svn export is not sufficient in my case because it does not seem to work with files that have ...
0
votes
1
answer
39
views
CorelDraw Adding Tags/Keywords To File
I asked the CorelDRAW forums and we are all stumped on this one. Here's the thread with video.
I'm trying to add tags to my CorelDRAW file so I can make searching my library easier. I wrote my own &...
0
votes
0
answers
74
views
Vb.net Visual Studio 2022 keyword 'address' not found
Can please someone guide me where can I identify this address the error is talking to. Whenever I run the project, after connecting the database. This error shows up:
Private Sub Main_Menu_Load(...
0
votes
1
answer
80
views
In Python, how do I read and write the actual word "None" (not the Keyword) between a .csv file and DataFrame?
I have a .csv that has the actual word "None" as a value in a field. When I read it into a DataFrame, the df reads "None" as the keyword and inserts . Later, when I rewrite the df ...
-1
votes
1
answer
28
views
Designing a Word Index Database
I have a approx 1000000 pages, to index, which I need to find the closest page for a set of keywords.
My current thinking is to create a string for each page which included the significant words, ...
-1
votes
1
answer
32
views
Is it possible to pipe large Google keyword search volumes through one Google Ads account
I am creating a web platform on which we would like to let our users (many thousands) use the Google Keyword Planer tool via API to look up word statisks and also suggest new words, if possible.
From ...
-1
votes
2
answers
66
views
How to add double quotes character at the end and starting of a word with + symbol before and end at Boolean character?
I have an input text form, which takes text character as an input from frontend user.
Example :- Word1 OR word2 OR word 3
and want to convert the string as below example ,
"Word1"+OR+"...
0
votes
1
answer
39
views
Why is Pandas not finding my specified columns in a CSV file?
everyone.
This my Python code. I would like to do a alpha Cronbach's test on a csv datafile.
import pandas as pd
import pingouin as pg
# Read the CSV file into a DataFrame
data = pd.read_csv("C:\...
0
votes
1
answer
61
views
How to access attributes of an xml element which are keywords in ballerina?
Consider the below code segment written in ballerina.
xml xmlHello = xml `<para id="greeting">Hello</para>`;
string id = check xmlHello.id;
io:println(id);
In the above scenario,...
0
votes
0
answers
33
views
BigCommerce template - how can I get product search_keywords
The product Admin has the section 'Storefront Details' with 'Search Keywords' tab.
Because of there is no any 'Tags' in BigCommerce product admin, then I'm using 'Search Keywords'.
How can I get ...
0
votes
1
answer
61
views
KDB:What is the calculation rule of the keyword div
Today I found an interesting phenomenon about div in kdb
a:2 div 2.4
b:2.0 div 2.4
The results of a and b are different.
KDB officially explains div in this way:"Returns the greatest whole ...
0
votes
0
answers
27
views
Atlassian Bitbucket reserved keywords
I have searched high and low for a list of reserved keywords that are not allowed when naming repositories using Atlassian Bitbucket Data Center.
The reason is that if I name a repository 'repos' it ...
0
votes
0
answers
35
views
How to count specific words in multiple PDFs and it should be presented in a table using R
I have multiple PDFs. I want to create a table where the frequency of specific keywords are counted and tabulated. I want the output to look like this;
Company name. Year ID. Keyword count
...
0
votes
2
answers
540
views
Robot Framework with Selenium - Click Element is not working
I'm having issues with the Click Element keyword (SeleniumLibrary) with RFWK. It's not working consistently and I cannot find the root cause of it.
The page element looks like this:
<div class=&...
0
votes
0
answers
31
views
Using "match" as a method name in Python class [duplicate]
I have a Python class Shape, which can perform matching. I called the corresponding method match:
class Shape:
...
def match(self, image):
and it is working, as far as I can tell. Is there a ...
0
votes
2
answers
37
views
What does the MySQL keyword "excludes" do?
I'm reviewing a MySQL query and came across a keyword I've never seen before - "excludes". It's used in a DELETE statement similar to:
DELETE table_A
FROM table_A
JOIN (
SELECT ...
0
votes
1
answer
75
views
How to check if keyword is present in title or not in Python?
I have a dataset which contains multiple keywords and I want to check if title contains the same key or not. it should be row by row partial match.
I have tried this code but it is not working for ...
0
votes
0
answers
34
views
What is the difference between an internal class with internal fields and an internal class with public fields in C#? [duplicate]
I was wondering what the difference between an internal class with internal fields and an internal class with public fields in C# is. I know that internal is for library intern access only. But if my ...
0
votes
1
answer
157
views
how to exit exec() like in a function in Python
I'm currently trying to make an self-modifying algorithm in Python.
To do that, i have a string containing an algorithm that i run using the exec(algorithm) function inside another funciton.
the ...
0
votes
0
answers
39
views
Cluster network map of keyword python
I would like to create a network graph with the most occured keyword that I have just extrapolated from various paper. So I have an excel file with this keywords and I would rappresent their ...
2
votes
0
answers
33
views
How to increase chances of certain words to be selected as keywords in Rake-Nltp
I'm using Rake-Nltp to generate keywords from sentences. I want to increase preferences for some words to be selected as keywords. My dataset is based on football(soccer) commentary... so for eg
...
0
votes
1
answer
161
views
The keyword 'export' is reserved Eslint Angular
I have an Angular application which is working good.
I am trying to upgrade the Angular version for my application and have installed Eslint to check the code before I push the latest version to ...