Code Monkey home page Code Monkey logo

syntex-samples's Issues

Syntex unable extract Full Name

Hi Community,

I'm working with a number of PDF documents from which I need to pull specific data. So far, I've successfully extracted both the date and status from these documents. However, I've been unable to pull out full names.

There are several challenges when it comes to name extraction:

The location of the name isn't consistent.
The name may be in different formats (either first name + last name, or first name + middle name + last name).
There might be varying labels either before or after the name (e.g., "Location:", "112street -", commas, etc.).
Because of these factors, using Microsoft Syntex to extract full names from the PDFs has proved quite difficult.

I've attempted to try different methods to solve this issue, using the following methods:

With regular expression => [A-Za-z]+[ ]+[A-Za-z] (for First name + space + Last name)
Tried with before label and after label. The after label works partially.
The Invoice model is working and can pull the full name from the document(most cases), but not able to pull the status.
But unfortunately, I'm yet to achieve success. I'd welcome any suggestions you may have.

I want to extract the full name using the Syntex.

Fee Amount Field has space

In the json for the views, the correct fee amount column is Fee_x0020_Amount when using the Syntex model for Services Agreement.

Deploy-Template.ps1 checking for user license

When deploying templates there is an api request to check for syntex user license which is failing on tenants with pay as you go model.
Workaround should be commenting the line:

$syntexLicense = Invoke-PnPSPRestMethod -Method Get -Url "/_api/machinelearning/MachineLearningEnabled/UserSyntexEnabled" -Raw

And add:
$syntexLicense = $true

This line probably should be deprecated given the Syntex billing model now is pay as you go.

syntex-samples/scenario-samples/Unstructured-DPM-and-CA-Scenario/ formatDateTime

I recommend to use formatDateTime(triggerOutputs()?['body/Change_x0020_Date'],'MM/dd/yyyy') in the GenerateServiceAgreement Flow, so all Change Dates Formats like 9/9/2022 could be assembled by the Generate Document Action.

Otherwise you will get the following Error for some Date Formats:

[{"ErrorMessage":"Answer for data type 'datetime' has wrong format.","HasError":true},

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.