sentence Questions

3

I have a list of teamnames. Let's say they are teamnames=["Blackpool","Blackburn","Arsenal"] In the program I ask the user which team he would like to do stuff with. I want python to autocomple...
Mehalick asked 7/1, 2014 at 13:3

3

Solved

Example strings: accuracy-is-5 accuracy-is-5-or-15 accuracy-is-5-or-15-or-20 package-is-dip-8-or-dip-4-or-dip-16 My current regexp: /^([a-z0-9\-]+)\-is\-([a-z0-9\.\-]*[a-z0-9])(?:\-or\-([a-z0-9...
Orchid asked 27/5, 2015 at 12:38

6

Solved

How can I break a document (e.g., paragraph, book, etc) into sentences. For example, "The dog ran. The cat jumped" into ["The dog ran", "The cat jumped"] with spacy?
Kileykilgore asked 19/9, 2017 at 1:14

6

Solved

I am trying to use javascript's split to get the sentences out of a string but keep the delimiter eg !?. So far I have sentences = text.split(/[\\.!?]/); which works but does not include the e...
Choreodrama asked 1/8, 2012 at 14:35

7

Solved

I use this: Static PreviousLetter As Char If PreviousLetter = " "c Or TextBox1.Text.Length = 0 Then e.KeyChar = Char.ToUpper(e.KeyChar) End If PreviousLetter = e.KeyChar But the result is al...
Hallucinatory asked 31/12, 2013 at 16:23

3

Solved

I am unable to do: pip install -U sentence-transformers. I get this message on Anaconda Prompt: ERROR: Could not find a version that satisfies the requirement torch>=1.0.1 (from sentence-transforme...
Turrell asked 25/5, 2020 at 0:14

3

This is an NLP problem and I was wondering how I should proceed. How difficult is the problem? Could I replace the word with synonyms and check that the grammar is correct?

1

Solved

I am new to Spacy and NLP. I'm facing the below issue while doing sentence segmentation using Spacy. The text I am trying to tokenise into sentences contains numbered lists (with space between numb...
Queenhood asked 6/9, 2018 at 13:43

7

I have a number of PDF documents, which I have read into a corpus with library tm. How can one break the corpus into sentences? It can be done by reading the file with readLines followed by sentS...
Senskell asked 10/9, 2013 at 7:24

1

Solved

I intend to identify the sentence structure in English using spacy and textacy. For example: The cat sat on the mat - SVO , The cat jumped and picked up the biscuit - SVV0. The cat ate the biscuit...
Eponym asked 24/3, 2018 at 0:38

5

Solved

I'm trying to essentially take a list of strings containg sentences such as: sentence = ['Here is an example of what I am working with', 'But I need to change the format', 'to something more useab...
Marden asked 12/12, 2011 at 17:53

3

I have to split Chinese text into multiple sentences. I tried the Stanford DocumentPreProcessor. It worked quite well for English but not for Chinese. Please can you let me know any good sen...
Parulis asked 12/12, 2014 at 10:4

2

Solved

I'm hoping somebody can point me in the right direction to learn about separating out actions from a bunch of text. Suppose I have this text Drop off the dry cleaning, and go to the corner stor...

2

Solved

I have faced a styling problem. What is the best way to have my text lines in a single line? Screenshot of the problem: My code is rather simple: <section id="key-features" class="key-feat...
Nickolenicks asked 2/10, 2016 at 20:51

1

Hello I am new into regex and I'm starting out with python. I'm stuck at extracting all words from an English sentence. So far I have: import re shop="hello seattle what have you got" regex...
Silvern asked 31/5, 2016 at 10:54

4

Solved

I am new to stanford Core NLP. I would like to use it for splitting sentences from text in English, German,French. Which class does this work?Thanks in advance.
Vasileior asked 10/9, 2012 at 17:58

2

Is it possible to use a Lucene SpanQuery to find all occurrences where the terms "red" "green" and "blue" all appear within a single sentence? My first (incomplete/incorrect) approach is to write ...
Hothouse asked 15/5, 2012 at 3:17

2

Solved

I am using Ruby on Rails v3.0.9 and I would like to "transform" an array of strings in a sentence including punctuation. That is, if I have an array like the following: ["element 1", "element 2", ...
Counterclaim asked 21/8, 2011 at 23:50

1

I am working on a program that needs to create a sentence that is grammatically correct from a given set of words. Here I will be passing an input of a list of strings to the program and my o...
Increate asked 23/12, 2015 at 12:39

4

Solved

I'd like to set a property if an environment variable is set. I googled a lot on it and all I found is something similar to the code below, but I keep getting the error: [FATAL] Non-parseable PO...
Claudette asked 5/8, 2013 at 7:21

1

I'm trying to develop a Natural Language Interfaces to Database, and I'm just wondering if there is a library or an API (Java) that I can use to convert a question (interrogative sentence) to a com...
Scauper asked 27/3, 2014 at 4:44

3

Solved

I'm looking for a javascript function that is smart enough to remove the last sentence of a long chunk of text (one paragraph actually). Some example text to show the complexity: <p>Blabla, ...
Diantha asked 23/9, 2011 at 15:54

4

Solved

I have seen a few similar questions but I am trying to achieve this. Given a string, str="The moon is our natural satellite, i.e. it rotates around the Earth!" I want to extract the words and stor...
Harry asked 5/9, 2011 at 18:46

5

Solved

I have a text and using this simple regex to split it in words: [ \n]. It splits the text into words using spaces and line-breaks. I want to know if there is a way to keep the whitespace or the li...
Glace asked 17/8, 2011 at 16:24
1

© 2022 - 2024 — McMap. All rights reserved.