Questions tagged [read-text]

44 questions
4
votes
2 answers

READ_TEXT similar function in CDS View

I need to read text stored for invoice, order, etc. In ABAP we can use READ_TEXT function module, but I need to read it within a CDS view. Is there a way to read text from database tables directly in a SELECT statement?
Eralper
  • 6,081
  • 2
  • 17
  • 27
1
vote
1 answer

I want to read a txt with infos of a movie in each line and save it in to a dynamic array of structures

I'm really new to C programming and I try to make this as an example of reading files and saving them to dynamic array of structs the infos of the txt are: Movie id:1448 title:The movie surname of director: lorez name of director: john date:…
1
vote
1 answer

Error running Cognitive Services Read Text container preview

When I am processing an image file, the container crashes with the following error message azureocr_1 | docker-entrypoint.sh: line 6: 9 Illegal instruction (core dumped) KMP_BLOCKTIME=1 KMP_HOT_TEAMS_MODE=1 OMP_WAIT_POLICY=PASSIVE…
1
vote
1 answer

When reading in pdf text using readtext is there a way to ensure that readtext respects columns?

The problem is that I have a PDF document formatted in landscape with three columns of text which I am attempting to read into R using readtext(). When it reads the text in, rather than reading down each column in order, it is reading between…
1
vote
2 answers

Extract specific words from the file

I am analyzing some text files and I want to extract a specific word every time that the word is found in the file. Imagine that I have 'Sports' in the file then I want to extract the Word 'SPORTS' based on a list. I've the following code: content =…
Pedro Alves
  • 846
  • 12
  • 27
1
vote
1 answer

Text mining with tm in R antiword error

So I'm rather new to R, and I'm learning how to mine text from this handy website: https://eight2late.wordpress.com/2015/05/27/a-gentle-introduction-to-text-mining-using-r/ I do have my own text set of .doc, .docx, and .xlsx files and I'm trying to…
Zac
  • 159
  • 1
  • 1
  • 8
1
vote
1 answer

Java error in useDelimiter()

This is what I have been working so far for reading a text file, Scanner file = new Scanner(new File("sample.txt")).useDelimiter("."); ArrayList arr = new ArrayList<>(); while (file.hasNextLine()) { …
Mr.B
  • 29
  • 5
0
votes
2 answers

how can i read a txt file and format part of the txt into a table using python

i am trying to read a text file and extract a specific part from it to a CSV file , #**This is the part of the txt file:**# - 172.16.1.202 - Hostaname: S01 ################################################################################# - VLAN-IP…
0
votes
0 answers

How can i read a .docx file's text only using javascript inside laravel

i want to read .docx file using javascript inside a laravel project. i tried to read it using filereader this is my code let files = input.files; if (files.length == 0) alert("sorry we couldn't find your file"); const file…
Iftekhstudio
  • 7
  • 1
  • 2
0
votes
2 answers

Is there an R function to capture a lot of patterns in a text?

I have the following text in my dataset: [1] "q negociação c/v tipo mercado prazo especificação do título obs (*) quantidade preço / ajuste valor operação / ajuste d/c 1-bovespa c fracionario magaz luiza on eb nm # 1 25,76 25,76 d 1-bovespa c…
0
votes
0 answers

read .doc file in using readtext

I am trying to read in some .doc files using readtext package, the code I use being sample_doc <- read_doc("34 - Toomer v Witsell.doc") But I get the error message saying that Error: System call to 'antiword' failed (1):…
sli1991
  • 11
  • 2
0
votes
1 answer

Reading single data and arrays from the same text file

Trying to read a .txt file that contains problem data varying in size and type (i.e. single integer, double/integer/binary arrays) for a computational experiment. By reviewing examples available here and here, I developed two alternative code…
Yusuf
  • 41
  • 7
0
votes
0 answers

Get package name of caller script from imported python file

I have a project that will be zipped and run from Spark, let's call it "client" project. I would like, on a library imported by a script within this client project, to read some static config file the "client" program will provide following a…
Mehdi
  • 591
  • 7
  • 16
0
votes
1 answer

Ignore errors in readtext r

I am now trying to extract a large number of docx files (1500) placed in one folder, using readtext (after creating a list using list.files) You can find similar examples here:…
Bahi8482
  • 345
  • 2
  • 9
0
votes
1 answer

Error running Microsoft Azure computer vision Cognitive Services Read Text container on-prem - Illegal Instruction

I'm trying to run the preview version of a Computer Vision docker container on an Red Hat Enterprise Linux Server release 7.5 on-premises. I've pulled the docker container containerpreview.azurecr.io/microsoft/cognitive-services-read:latest and run…
1
2 3