Skip to content

LT-21804 Move PCPATR with FLEx into the FLEx repo#787

Open
AndyBlack wants to merge 9 commits intomainfrom
LT22418
Open

LT-21804 Move PCPATR with FLEx into the FLEx repo#787
AndyBlack wants to merge 9 commits intomainfrom
LT22418

Conversation

@AndyBlack
Copy link
Collaborator

@AndyBlack AndyBlack commented Mar 25, 2026

This is for LT-22418 (Move PCPATR with FLEx into the FLEx repo).

This contains three FLEx add-on utilities that have been in production use by a few FLEx users for some time now. The changes here moved what was in the GitHub repository at https://github.com/sillsdev/pcpatrflex/tree/master to Src\Utilities. The utilities are:

Use PcPatr with FLEx: A tool to disambiguate a FLEx text by using a syntactic grammar with PcPatr.
Extract Ana Files from FLEx Texts: A tool to create a CARLA ANA file for a given text in FLEx.
Use TonePars with FLEx: A tool to use the TonePars tool to diambiguate texts in FLEx.

There also is a ReadMe.txt file pointing to the soon-to-be-archived repository mentioned above in case some one needs to check its history.

Note that the code in that repository that is now in FLEx has never undergone a human code review. Since there is so much code, I tried to put each project in its own commit.


This change is Reviewable

Change-Id: I01a58d2badb9b4d863a91e975499aa49a7d47354
Change-Id: I1ddf2f34733cb72d23b6c705a4dfa653c6b53a12
Change-Id: Ifbc74826caebdae3e0556e5351672f11b38612e5
Change-Id: Ice39b6d3508347f41aface7235940cbd7cdca81c
Change-Id: Id936cb91e838b813b926b5acf18095c7ae295ac7
Change-Id: Ie276229faf998d0ab45c6d3b9f9cfdcd4131fe98
Change-Id: Id7ea53849eab70d91e0dfa43a461c6556aa2856c
Change-Id: Icc7e54b7a50f5d8027c16eaf0efb38186d4965e3
@AndyBlack AndyBlack changed the title LT-22418 Move PCPATR with FLEx into the FLEx repo LT-22804 Move PCPATR with FLEx into the FLEx repo Mar 25, 2026
@AndyBlack AndyBlack changed the title LT-22804 Move PCPATR with FLEx into the FLEx repo LT-21804 Move PCPATR with FLEx into the FLEx repo Mar 25, 2026
@github-actions
Copy link

NUnit Tests

    1 files  ± 0      1 suites  ±0   6m 21s ⏱️ +24s
4 091 tests +17  4 016 ✅ +13  71 💤 ±0  4 ❌ +4 
4 100 runs  +17  4 025 ✅ +13  71 💤 ±0  4 ❌ +4 

For more details on these failures, see this check.

Results for commit cd5c5fb. ± Comparison against base commit c450a55.

Copy link
Contributor

@papeh papeh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I've spot-checked from 5 million lines looks good. LGTM when tests are passing.

// This software is licensed under the LGPL, version 2.1 or later
// (http://www.gnu.org/licenses/lgpl-2.1.html)

//using SIL.LcmLoaderUI;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be removed

{
return (
from fd in FieldDescription.FieldDescriptors(Cache)
where fd.IsCustomField //&& GetItem(m_locationComboBox, fd.Class) != null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commented code can be removed

@@ -0,0 +1,2 @@
This folder was taken from https://github.com/sillsdev/pcpatrflex on March 12, 2026.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this would make sense to include in README.md so there is only one ReadMe in this folder.

in a *FieldWorks Language Explorer* project. You tell *Use PC-PATR with FLEx* the PC-PATR grammar file to use.
Then you can choose a text or a portion of that text and ask *Use PC-PATR with FLEx* to try and disambiguate it.

While you can use any PC-PATR grammar file, *Use PC-PATR with FLEx* expects that you will have used the *PAWS* program to create he PC-PATR grammar file. See https://software.sil.org/paws/ for more on PAWS.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...to create the PC-PATR grammar file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants