GithubHelp home page GithubHelp logo

Comments (4)

giTorto avatar giTorto commented on June 27, 2024 1

Interesting, I have just added the above mentioned function.
Can you try to build it again and let me know whether it solved the issue?

from extractu-plugin.

giTorto avatar giTorto commented on June 27, 2024

Hi,
It's hard to say without any further information.
It's a bit hard to me to debug it as of know, but I can tell you where you can find the error most likely.
If nothing seems to happen, I would guess the error is in the front end.
On the client side, the main difference is related to the selection of the country, in the function defined at

extract: function (services) {

The client side error should be easy to detect just showing the javascript console and seeing if there is an error when clicking on "Extract Telephone Number".

To test the server side, can you try with different origins, such as Italy, U.S., whatever?
The implementation of the Italian telephone numbers extraction is mostly based on a regex, whereas for other countries is mostly based on the telephone-number library by google.

On the server side, All features share the most part of the code.
The only main difference between extraction of Telephone numbers, urls and e-mails is in in the function call at

risultato = getNumbers(text);

The function is defined at

private Oggetto getNumbers(String text) {

Thank you for your help

My best,
Giuliano

from extractu-plugin.

Bowiemb avatar Bowiemb commented on June 27, 2024

Yes, sir. The Javascript console printed out the following error:

project-bundle.js:41604 Uncaught ReferenceError: getSelectedText is not defined
at Dialog.extract (project-bundle.js:41604)
at HTMLButtonElement. (project-bundle.js:41556)
at HTMLButtonElement.dispatch (project-bundle.js:4643)
at HTMLButtonElement.elemData.handle (project-bundle.js:4311)

from extractu-plugin.

Bowiemb avatar Bowiemb commented on June 27, 2024

That fixed it! Thank you, sir.

My best,
Michael

from extractu-plugin.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.