Giter VIP home page Giter VIP logo

syntex-samples's Introduction

Microsoft Syntex Samples

This repository contains community samples that demonstrate different usage patterns of unstructured document processing models (formerly known as document understanding models) in Microsoft Syntex.

We welcome community contributions (e.g. Syntex unstructured document processing models) to the models folder in this repository. Note that if you contribute a model, please make sure that the training data submitted with your model can be publicly shared.

NOTE: Unfortunately at this time other Syntex document processing model types such as structured or freeform cannot be exported to a PnP template. So these cannot be shared in this repository.

Have issues or questions?

Please use following logic on submitting your questions or issues to right location to ensure that they are noticed and addressed as soon as possible.

Additional resources

Using the samples

The samples in this repository contain both the unstructured document processing model files, as well as the files used to train the model. Once imported, you will be able to use these models to process files, as well as view and edit the key model elements - the classifier and extractors.

Samples are provided as PnP template, that should be imported to a Content Center site.

For example, this can be done using PnP PowerShell:

Connect-PnPOnline -Url "https://contoso.sharepoint.com/sites/yourContentCenter"

Invoke-PnPSiteTemplate -Path .\sampleModel.pnp

See the Exporting Models article for guidance on how to export unstructured document processing models.

Once a model has been imported in your Syntex Content Center site you can review and update it to match your needs. If you want to further deploy the model then checkout the Deploying Models article to learn more.

Authors

This repository's contributors are all community members who volunteered their time to share code samples. Work is done as an open source community project, which each sample contained in their own solution.

Contributions

These samples are direct from the feature teams, PnP core team (http://aka.ms/m365pnp) or shared by the community. We welcome your input on issues and suggestions for new samples. If you have any questions, just let us know.

Code of Conduct

This repository has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Disclaimer

THESE SAMPLES ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

Sharing is caring!

syntex-samples's People

Contributors

jameseccles avatar jansenbe avatar leonarmston avatar marcorocca1973 avatar msqishengc avatar spucelik avatar tomresing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

syntex-samples's Issues

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},

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.

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.

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.