# US 2020/0272432 A1 · Modality transformations

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0272432 A1
- Document ID: US20200272432A1
- Status: Published application
- Kind: A1
- Application number: 16/285,101
- Filed: 2019-02-25
- Published: 2020-08-27
- Earliest claimed: 2019-02-25
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Samiulla Zakir Hussain Shaikh; Vijay Ekambaram; Padmanabha Venkatagiri Seshadri; Shinoj Zacharias
- Web page: https://patentgrep.com/patent/US20200272432A1

## CPC

- G06F 8/38: for implementing user interfaces
- G06F 8/35: model driven
- G06F 8/433: {Dependency analysis; Data or control flow analysis}
- G06F 8/436: {Semantic checking}
- G06F 8/76: Adapting program code to run in a different environment; Porting
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Transforming a user-interface modality of a software application can include identifying a first workflow segment corresponding to a UI modality of an application developed to run on a predetermined data processing platform and selecting one or more other workflow segments to transform the UI modality of the application. Each other workflow segment performs on a different data processing platform a function comparable to a function performable by the first workflow segment. The one or more other workflow segments can be selected from a multi-member set of alternative workflow segments that are semantically similar to the first workflow segment. The selecting can be based on classifying the first workflow segment with a classification model trained using machine learning to map workflow segments and corresponding UI modalities to different processing platforms.

## Claims

### Claim 1

A method, comprising:
identifying, with a data processing system, a first workflow segment corresponding to a user-interface (UI) modality of an application, the application developed to run on a predetermined data processing platform; and
selecting, with the data processing system, at least one other workflow segment to transform the UI modality of the application, the at least one other workflow segment configured to perform on a different data processing platform a function comparable to a function performable by the first workflow segment;
wherein the at least one other workflow segment is selected from a plurality of alternative workflow segments that are semantically similar to the first workflow segment, and wherein the selecting is based on classifying the first workflow segment with a classification model trained using machine learning to map workflow segments and corresponding UI modalities to different processing platforms.

### Claim 2 (depends on 1)

The method of claim 1, further comprising generating a rank-ordered list of recommended workflow segments in response to the at least one other workflow segment comprising a plurality of other workflow segments.

### Claim 3 (depends on 1)

The method of claim 1, further comprising transforming the UI modality of the application by automatically substituting a second code segment for a first code segment, wherein the first code segment corresponds to the first workflow segment, and wherein the second code segment corresponds to the at least one other workflow segment and performs the function comparable to the function performable by the first workflow segment when executed on the different data processing platform.

### Claim 4 (depends on 1)

The method of claim 1, further comprising predicting a domain of the application during an in-development phase using a prediction model trained with machine learning to predict the domain of the application based on a predetermined set of application features.

### Claim 5 (depends on 1)

The method of claim 1, further comprising generating a training corpus for training the classification model by extracting workflow semantics and corresponding UI modalities from each of a plurality of platform-specific versions of previously developed applications.

### Claim 6 (depends on 1)

The method of claim 1, further comprising generating the plurality of alternative workflow segments by clustering semantically similar workflow segments with a model trained using machine learning to cluster the workflow semantics based on a predetermined distance metric.

### Claim 7 (depends on 1)

The method of claim 1, further comprising determining the corresponding UI modalities based on accessibility text of the plurality of alternative workflow segments.

### Claim 8

A system, comprising:
computer hardware having at least one processor programmed to initiate executable operations, the executable operations including:
identifying a first workflow segment corresponding to a user-interface (UI) modality of an application, the application developed to run on a predetermined data processing platform; and
selecting at least one other workflow segment to transform the UI modality of the application, the at least one other workflow segment configured to perform on a different data processing platform a function comparable to a function performable by the first workflow segment;
wherein the at least one other workflow segment is selected from a plurality of alternative workflow segments that are semantically similar to the first workflow segment, and wherein the selecting is based on classifying the first workflow segment with a classification model trained using machine learning to map workflow segments and corresponding UI modalities to different processing platforms.

### Claim 9 (depends on 8)

The system of claim 8, wherein the executable operations further include generating a rank-ordered list of recommended workflow segments in response to the at least one other workflow segment comprising a plurality of other workflow segments.

### Claim 10 (depends on 8)

The system of claim 8, wherein the executable operations further include transforming the UI modality of the application by automatically substituting a second code segment for a first code segment, wherein the first code segment corresponds to the first workflow segment, and wherein the second code segment corresponds to the at least one other workflow segment and performs the function comparable to the function performable by the first workflow segment when executed on the different data processing platform.

### Claim 11 (depends on 8)

The system of claim 8, wherein the executable operations further include predicting a domain of the application during an in-development phase using a prediction model trained with machine learning to predict the domain of the application based on a predetermined set of application features.

### Claim 12 (depends on 8)

The system of claim 8, wherein the executable operations further include generating a training corpus for training the classification model by extracting workflow semantics and corresponding UI modalities from each of a plurality of platform-specific versions of previously developed applications.

### Claim 13 (depends on 8)

The system of claim 8, wherein the executable operations further include generating the plurality of alternative workflow segments by clustering semantically similar workflow segments with a model trained using machine learning to cluster the workflow semantics based on a predetermined distance metric.

### Claim 14

A computer program product, comprising:
a computer-readable storage medium having program code stored thereon, the program code executable by a computer to initiate operations including:
identifying a first workflow segment corresponding to a user-interface (UI) modality of an application, the application developed to run on a predetermined data processing platform; and
selecting at least one other workflow segment to transform the UI modality of the application, the at least one other workflow segment configured to perform on a different data processing platform a function comparable to a function performable by the first workflow segment;
wherein the at least one other workflow segment is selected from a plurality of alternative workflow segments that are semantically similar to the first workflow segment, and wherein the selecting is based on classifying the first workflow segment with a classification model trained using machine learning to map workflow segments and corresponding UI modalities to different processing platforms.

### Claim 15 (depends on 14)

The computer program product of claim 14, wherein the operations further include generating a rank-ordered list of recommended workflow segments in response to the at least one other workflow segment comprising a plurality of other workflow segments.

### Claim 16 (depends on 14)

The computer program product of claim 14, wherein the operations further include transforming the UI modality of the application by automatically substituting a second code segment for a first code segment, wherein the first code segment corresponds to the first workflow segment, and wherein the second code segment corresponds to the at least one other workflow segment and performs the function comparable to the function performable by the first workflow segment when executed on the different data processing platform.

### Claim 17 (depends on 14)

The computer program product of claim 14, wherein the operations further include predicting a domain of the application during an in-development phase using a prediction model trained with machine learning to predict the domain of the application based on a predetermined set of application features.

### Claim 18 (depends on 14)

The computer program product of claim 14, wherein the operations further include generating a training corpus for training the classification model by extracting workflow semantics and corresponding UI modalities from each of a plurality of platform-specific versions of previously developed applications.

### Claim 19 (depends on 14)

The computer program product of claim 14, wherein the operations further include generating the plurality of alternative workflow segments by clustering semantically similar workflow segments with a model trained using machine learning to cluster the workflow semantics based on a predetermined distance metric.

### Claim 20 (depends on 14)

The computer program product of claim 14, wherein the operations further include determining the corresponding UI modalities based on accessibility text of the plurality of alternative workflow segments.
