Checking spelling of form elements

Overview

onec-grammarcheck

Проверка орфографии элементов форм

Можно проверять исходные файлы внешних обработок/отчетов и файлов конфигурации

Установка

Из пакетов (coming soon)

pip install onec-grammarcheck

Из репозитория

pip install .

Использование

Простая проверка

onec-grammarcheck ./src

Будут выбраны все файлы форм в формате xml. Из них извлечены элементы для которых заданы:

  • Заголовки
  • Подсказки
  • Расширенные подсказки

Проверка нескольких папок

onec-grammarcheck ./src1 ./src2

Результат проверки в формате JUnit

onec-grammarcheck ./src --junit junit.xml

Словари исключений

Для исключения терминов или каких-то других слов можно использовать словари

Явное указание

onec-grammarcheck ./src --dict dict.txt

Слова должны быть разделены переносом строк

Можно указать несколько словарей

onec-grammarcheck ./src --dict dict1.txt --dict dict2.txt

Настройки BSL language server

Если у Вас в настройках указаны исключения для опечаток, можно использовать их повторно

onec-grammarcheck ./src -bsl

Будут взяты настройки из файла .bsl-language-server.json

onec-grammarcheck ./src -bsl /my-bsl.json

Явное указание файла настроек

You might also like...
Resolve form field arguments dynamically when a form is instantiated

django-forms-dynamic Resolve form field arguments dynamically when a form is instantiated, not when it's declared. Tested against Django 2.2, 3.2 and

PyTorch impelementations of BERT-based Spelling Error Correction Models.

PyTorch impelementations of BERT-based Spelling Error Correction Models. 基于BERT的文本纠错模型,使用PyTorch实现。

PyTorch impelementations of BERT-based Spelling Error Correction Models

PyTorch impelementations of BERT-based Spelling Error Correction Models

Source code for the paper "PLOME: Pre-training with Misspelled Knowledge for Chinese Spelling Correction" in ACL2021

PLOME:Pre-training with Misspelled Knowledge for Chinese Spelling Correction (ACL2021) This repository provides the code and data of the work in ACL20

🤕 spelling exceptions builder for lazy people

🤕 spelling exceptions builder for lazy people

SpellingBeeSolver - This program generates solutions to NYT style spelling bee problems.

SpellingBeeSolver This program generates solutions to NYT style spelling bee problems. The initial version of this program is being written in Python

This utility synchronises spelling dictionaries from various tools with each other.

This utility synchronises spelling dictionaries from various tools with each other. This way the words that have been trained on MS Office are also correctly checked in vim or Firefox. And vice versa of course.

 SCALE: Modeling Clothed Humans with a Surface Codec of Articulated Local Elements (CVPR 2021)
SCALE: Modeling Clothed Humans with a Surface Codec of Articulated Local Elements (CVPR 2021)

SCALE: Modeling Clothed Humans with a Surface Codec of Articulated Local Elements (CVPR 2021) This repository contains the official PyTorch implementa

Programmatically access the physical and chemical properties of elements in modern periodic table.

API to fetch elements of the periodic table in JSON format. Uses Pandas for dumping .csv data to .json and Flask for API Integration. Deployed on "pyt

Given an array of integers, calculate the ratios of its elements that are positive, negative, and zero.

Given an array of integers, calculate the ratios of its elements that are positive, negative, and zero. Print the decimal value of each fraction on a new line with places after the decimal.

Creating of virtual elements of the graphical interface using opencv and mediapipe.
Creating of virtual elements of the graphical interface using opencv and mediapipe.

Virtual GUI Creating of virtual elements of the graphical interface using opencv and mediapipe. Element GUI Output Description Button By default the b

Quantity Takeoff with Python. Collecting groups of elements by filters
Quantity Takeoff with Python. Collecting groups of elements by filters

The free tool QuantityTakeoff allows you to group elements from Revit and IFC models (in BIMJSON-CSV format) with just a few filters and find the required volume values for the grouped elements.

This file will contain a series of Python functions that use the Selenium library to search for elements in a web page while logging everything into a file

element_search with Selenium (Now With docstrings 😎 ) Just to mention, I'm a beginner to all this, so it it's very possible to make some mistakes The

Ulaavi for nuke, helps to keep our stocl elements organised.

Ulaavi Ulaavi for nuke, helps to keep our stock elements organised. Installation Downlaod ffmpeg from ffmpeg.org linux : https://johnvansickle.com/ffm

Computational modelling of ray propagation through optical elements using the principles of geometric optics (Ray Tracer)
Computational modelling of ray propagation through optical elements using the principles of geometric optics (Ray Tracer)

Computational modelling of ray propagation through optical elements using the principles of geometric optics (Ray Tracer) Introduction By applying the

Pyoccur - Python package to operate on occurrences (duplicates) of elements in lists

pyoccur Python Occurrence Operations on Lists About Package A simple python package with 3 functions has_dup() get_dup() remove_dup() Currently the du

slipit is a command line utility for creating archives with path traversal elements.

slipit is a command line utility for creating archives with path traversal elements. It is basically a successor of the famous evilarc utility with an extended feature set and improved base functionality.

Performant type-checking for python.
Performant type-checking for python.

Pyre is a performant type checker for Python compliant with PEP 484. Pyre can analyze codebases with millions of lines of code incrementally – providi

Unbearably fast O(1) runtime type-checking in pure Python.
Unbearably fast O(1) runtime type-checking in pure Python.

Look for the bare necessities, the simple bare necessities. Forget about your worries and your strife. — The Jungle Book.

Comments
  • Корректная обработка заголовка

    Корректная обработка заголовка

    1. Если у элемента отсутствует Title - надо брать из соответствующего реквизита.
    2. Может быть установлен признак Не выводить заголовок. Тогда и проверять не надо
    enhancement elements 
    opened by KrapivinAndrey 0
  • Другой speller

    Другой speller

    Стоит ли использовать другую проверку орфографии?

    1. (-) ЯСпеллер не поддерживается.
    2. (-) ЯСпеллер иногда неадекватно разбирает ошибки. Например, Размер списка.
    3. (+) ЯСпеллер работает с корректировкой слитного и раздельного написания.
    4. (+) ЯСпеллер хорошо работает с контекстом.

    Альтернативы:

    1. DeepPavlov - жрет память
    2. JamSpell - требует предустановленных библиотек для запуска C++. Быстро работает.
    3. pyChecker - типовая проверка по словарю.

    Все не справляются с раздельным написанием и контекстом. Фактически просто проверка по словарям.

    question 
    opened by KrapivinAndrey 0
  • Отчет в формате для SQ

    Отчет в формате для SQ

    Добавить выгрузку отчета в формате SQ, для дальнейшей работы

    https://docs.sonarqube.org/latest/analysis/generic-issue/

    1. Проще работать с ошибками и исключениями.
    2. Явно видно где ошибка
    enhancement report 
    opened by KrapivinAndrey 0
Releases(v0.5.0)
Owner
СКБ Контур (команда 1с)
СКБ Контур (команда 1с)
PyTorch impelementations of BERT-based Spelling Error Correction Models

PyTorch impelementations of BERT-based Spelling Error Correction Models

Heng Cai 59 Jun 29, 2021
🤕 spelling exceptions builder for lazy people

?? spelling exceptions builder for lazy people

Vlad Bokov 3 May 12, 2022
Grapheme-to-phoneme (G2P) conversion is the process of generating pronunciation for words based on their written form.

Neural G2P to portuguese language Grapheme-to-phoneme (G2P) conversion is the process of generating pronunciation for words based on their written for

fluz 11 Nov 16, 2022
Prithivida 690 Jan 4, 2023
Samantha, A covid-19 information bot which will provide basic information about this pandemic in form of conversation.

Covid-19-BOT Samantha, A covid-19 information bot which will provide basic information about this pandemic in form of conversation. This bot uses torc

Neeraj Majhi 2 Nov 5, 2021
Checking-For-Fibonacci-Syquence-In-Python - Checking For Fibonacci Syquence In Python

Checking-For-Fibonacci-Syquence-In-Python The Fibonacci sequence is a set of num

 John Michael Oliba 1 Feb 14, 2022
Tweak the form field rendering in templates, not in python-level form definitions. CSS classes and HTML attributes can be altered.

django-widget-tweaks Tweak the form field rendering in templates, not in python-level form definitions. Altering CSS classes and HTML attributes is su

Jazzband 1.8k Jan 2, 2023
Tweak the form field rendering in templates, not in python-level form definitions. CSS classes and HTML attributes can be altered.

django-widget-tweaks Tweak the form field rendering in templates, not in python-level form definitions. Altering CSS classes and HTML attributes is su

Jazzband 1.8k Jan 6, 2023
GMailBomber is a form of Internet abuse which is perpetrated through the sending of massive volumes of email to a specific email address with the goal of overflowing the mailbox and overwhelming the mail server hosting the address, making it into some form of denial of service attack.

GMailBomber is a form of Internet abuse which is perpetrated through the sending of massive volumes of email to a specific email address with the goal of overflowing the mailbox and overwhelming the mail server hosting the address, making it into some form of denial of service attack.

Muneeb 5 Nov 13, 2022