Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
3 answers
251 views

I want to replace any word that follows a certain condition in a text, with another word, which varies, depending on the first word. The possibilities of the other word is stored in an array, and the ...
0 votes
0 answers
24 views

I am migrating Solr 3 to Solr 9. However, the issues I have now are: Solr 9 returns no results where punctuation is included within quotes (a phrase search), such as queries: "Electric Vehicles: ...
J Zhu's user avatar
  • 1
0 votes
1 answer
602 views

I'm splitting a string on all punctuation and whitespace characters. Rather than build a complicated (?) regex to match what C# considers "punctuation" and "whitespace" characters, ...
0 votes
0 answers
104 views

The first thing is that I import a .csv file and I ́m working some tasks without any problem, but now I have this issue that I ́m not able to solve. After defining a function I expected to remove all ...
-2 votes
2 answers
71 views

I'm curious about adding punctuation without the need for a script/add-on, specifically for apostrophes since commas and ellipsis seem just fine by default. So how would you individually add ...
0 votes
2 answers
103 views

I'm trying to make it so that when a user is entering text in an input field, their sentences will autocapitalize. Some people are already bad enough with proper grammar and punctualization, so this ...
0 votes
2 answers
76 views

I want to remove accents and punctuation from a dictionary. For example, I want to transform "à l'épreuve" into "a l epreuve". The dictionary is this one: https://www.poltext.org/...
1 vote
1 answer
448 views

I want to add line break after every .?! but not in decimals. However, I'm not very skilled at programming and all that (I only learned really basic python). So I wanted to know if there's a way to do ...
1 vote
1 answer
266 views

I need to do some grammar validation, for example add spaces after dots. Problem is that it shouldn't be done everywhere like in e.g. or www.example.co. or some more advanced exceptions like 999.77.SA....
0 votes
2 answers
115 views

I know how to do it for a single list in a cell but I need to keep the structure of multiple list of lists as in [["I","need","to","remove","punctuations&...
1 vote
1 answer
537 views

I'm working on a named entity recognition task, where I need to identify person names, books etc. I am using Huggingface Transformer package and BERT with PyTorch. Generally it works very good, ...
1 vote
1 answer
91 views

I am doing text cleaning for my pandas dataframe This is a string from my description column before punctuation is removed: ['dedicated', 'to', 'support', 'the', 'fast-paced', 'technology', '...
-1 votes
2 answers
105 views

its a kattis problem "Canadians, eh?" if the sentence ends with "eh?" the person is canadian and if not its an imposter this is my code rn a = input() found = a.find('e') found2= a[...
2 votes
1 answer
398 views

this is the code import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns plt.style.use('ggplot') import nltk df = pd.read_csv('/kaggle/input/starbucks-review-...
0 votes
0 answers
39 views

Code: #include <stdio.h> #include <ctype.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> #include <stdlib.h> #define WM 15 int main() ...

15 30 50 per page
1
2 3 4 5
...
30

AltStyle によって変換されたページ (->オリジナル) /