C# 클래스 Systran.ResourcesClientLib.Api.CorpusApi

Represents a collection of functions to interact with the API endpoints
상속: ICorpusApi
파일 보기 프로젝트 열기: SYSTRAN/resources-api-csharp-client 1 사용 예제들

공개 메소드들

메소드 설명
CorpusApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the CorpusApi class.

CorpusApi ( String basePath ) : System

Initializes a new instance of the CorpusApi class.

GetBasePath ( String basePath ) : String

Gets the base path of the API client.

ResourcesCorpusAddPost ( string Name, string Lang, List Tag, string Callback ) : CorpusAddResponse

Add a new corpus Add a new empty corpus.\n

ResourcesCorpusAddPostAsync ( string Name, string Lang, List Tag, string Callback ) : Task

Add a new corpus Add a new empty corpus.\n

ResourcesCorpusDeletePost ( List CorpusId, string Callback ) : CorpusDeleteResponse

Delete corpus Delete a corpus.\n

ResourcesCorpusDeletePostAsync ( List CorpusId, string Callback ) : Task

Delete corpus Delete a corpus.\n

ResourcesCorpusDetailsGet ( string CorpusId, string Callback ) : CorpusDetailResponse

Detail corpus Get detailed information about a corpus.\n

ResourcesCorpusDetailsGetAsync ( string CorpusId, string Callback ) : Task

Detail corpus Get detailed information about a corpus.\n

ResourcesCorpusExistsGet ( string Name, string Callback ) : CorpusExistsResponse

Corpus Exists Check if a corpus exists\n

ResourcesCorpusExistsGetAsync ( string Name, string Callback ) : Task

Corpus Exists Check if a corpus exists\n

ResourcesCorpusExportGet ( string CorpusId, string Format, string Callback ) : string

Export corpus Download a corpus in an expected format.\n

ResourcesCorpusExportGetAsync ( string CorpusId, string Format, string Callback ) : Task

Export corpus Download a corpus in an expected format.\n

ResourcesCorpusImportPost ( string Name, string Input, string InputFile, string Format, List Tag, string Callback ) : CorpusImportResponse

Import corpus Add a new corpus from an existing corpus.\n

ResourcesCorpusImportPostAsync ( string Name, string Input, string InputFile, string Format, List Tag, string Callback ) : Task

Import corpus Add a new corpus from an existing corpus.\n

ResourcesCorpusListGet ( string SourceLang, string TargetLang, bool WithoutPending, bool WithoutError, string Prefix, string Directory, string Callback ) : CorpusListResponse

List corpora List available corpora. Parameters can be used to restrict the list of returned corpora.\n

ResourcesCorpusListGetAsync ( string SourceLang, string TargetLang, bool WithoutPending, bool WithoutError, string Prefix, string Directory, string Callback ) : Task

List corpora List available corpora. Parameters can be used to restrict the list of returned corpora.\n

ResourcesCorpusMatchGet ( List CorpusId, List Input, string SourceLang, string TargetLang, double Threshold, int Limit, string Callback ) : CorpusMatchResponse

Corpus Match Find sentences in the corpus that match the input text from a given threshold.\n

ResourcesCorpusMatchGetAsync ( List CorpusId, List Input, string SourceLang, string TargetLang, double Threshold, int Limit, string Callback ) : Task

Corpus Match Find sentences in the corpus that match the input text from a given threshold.\n

ResourcesCorpusSegmentAddPost ( CorpusSegmentAddRequest Body, string Callback ) : CorpusSegmentAddResponse

Add corpus segments Add segments in a corpus.\n

ResourcesCorpusSegmentAddPostAsync ( CorpusSegmentAddRequest Body, string Callback ) : Task

Add corpus segments Add segments in a corpus.\n

ResourcesCorpusSegmentDeletePost ( string CorpusId, List SegId, string Callback ) : CorpusSegmentDeleteResponse

Delete corpus segments Delete segments in a corpus.\n

ResourcesCorpusSegmentDeletePostAsync ( string CorpusId, List SegId, string Callback ) : Task

Delete corpus segments Delete segments in a corpus.\n

ResourcesCorpusSegmentListGet ( string CorpusId, int Skip, int Limit, string Callback ) : CorpusSegmentListResponse

List corpus segments List segments in a corpus.\n

ResourcesCorpusSegmentListGetAsync ( string CorpusId, int Skip, int Limit, string Callback ) : Task

List corpus segments List segments in a corpus.\n

ResourcesCorpusSegmentTargetAddPost ( CorpusSegmentAddTargetRequest Body, string Callback ) : CorpusSegmentAddTargetResponse

Add corpus segment targets Add targets to a segment in a corpus.\n

ResourcesCorpusSegmentTargetAddPostAsync ( CorpusSegmentAddTargetRequest Body, string Callback ) : Task

Add corpus segment targets Add targets to a segment in a corpus.\n

ResourcesCorpusSegmentTargetDeletePost ( string CorpusId, string SegId, List TargetId, string Callback ) : CorpusSegmentDeleteTargetResponse

Delete corpus segment targets Delete segment targets in a corpus.\n

ResourcesCorpusSegmentTargetDeletePostAsync ( string CorpusId, string SegId, List TargetId, string Callback ) : Task

Delete corpus segment targets Delete segment targets in a corpus.\n

ResourcesCorpusSegmentUpdatePost ( string CorpusId, string SegId, string Source, string TargetId, string Target, string TargetLang, string Callback ) : CorpusSegmentUpdateResponse

Update corpus segment Update a segment in a corpus.\n

ResourcesCorpusSegmentUpdatePostAsync ( string CorpusId, string SegId, string Source, string TargetId, string Target, string TargetLang, string Callback ) : Task

Update corpus segment Update a segment in a corpus.\n

ResourcesCorpusUpdatePost ( string CorpusId, string Name, List Tag, string Callback ) : CorpusUpdateResponse

Update corpus properties Update properties of a corpus.\n

ResourcesCorpusUpdatePostAsync ( string CorpusId, string Name, List Tag, string Callback ) : Task

Update corpus properties Update properties of a corpus.\n

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

메소드 상세

CorpusApi() 공개 메소드

Initializes a new instance of the CorpusApi class.
public CorpusApi ( ApiClient apiClient = null ) : System
apiClient Systran.ResourcesClientLib.Client.ApiClient
리턴 System

CorpusApi() 공개 메소드

Initializes a new instance of the CorpusApi class.
public CorpusApi ( String basePath ) : System
basePath String
리턴 System

GetBasePath() 공개 메소드

Gets the base path of the API client.
public GetBasePath ( String basePath ) : String
basePath String
리턴 String

ResourcesCorpusAddPost() 공개 메소드

Add a new corpus Add a new empty corpus.\n
public ResourcesCorpusAddPost ( string Name, string Lang, List Tag, string Callback ) : CorpusAddResponse
Name string Corpus name. The name also contains the directories (ex: \"/myproject/firstPass/PersonalCorpus\")
Lang string Language code ([details](#description_langage_code_values))
Tag List Tag for the the corpus (this parameter can be repeated)
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.ResourcesClientLib.Model.CorpusAddResponse

ResourcesCorpusAddPostAsync() 공개 메소드

Add a new corpus Add a new empty corpus.\n
public ResourcesCorpusAddPostAsync ( string Name, string Lang, List Tag, string Callback ) : Task
Name string Corpus name. The name also contains the directories (ex: \"/myproject/firstPass/PersonalCorpus\")
Lang string Language code ([details](#description_langage_code_values))
Tag List Tag for the the corpus (this parameter can be repeated)
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusDeletePost() 공개 메소드

Delete corpus Delete a corpus.\n
public ResourcesCorpusDeletePost ( List CorpusId, string Callback ) : CorpusDeleteResponse
CorpusId List Corpus identifier (this parameter can be repeated)
Callback string Javascript callback function name for JSONP Support\n
리턴 CorpusDeleteResponse

ResourcesCorpusDeletePostAsync() 공개 메소드

Delete corpus Delete a corpus.\n
public ResourcesCorpusDeletePostAsync ( List CorpusId, string Callback ) : Task
CorpusId List Corpus identifier (this parameter can be repeated)
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusDetailsGet() 공개 메소드

Detail corpus Get detailed information about a corpus.\n
public ResourcesCorpusDetailsGet ( string CorpusId, string Callback ) : CorpusDetailResponse
CorpusId string Corpus identifier
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.ResourcesClientLib.Model.CorpusDetailResponse

ResourcesCorpusDetailsGetAsync() 공개 메소드

Detail corpus Get detailed information about a corpus.\n
public ResourcesCorpusDetailsGetAsync ( string CorpusId, string Callback ) : Task
CorpusId string Corpus identifier
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusExistsGet() 공개 메소드

Corpus Exists Check if a corpus exists\n
public ResourcesCorpusExistsGet ( string Name, string Callback ) : CorpusExistsResponse
Name string Corpus name. The name also contains the directories (ex: \"/myproject/firstPass/PersonalCorpus\")
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.ResourcesClientLib.Model.CorpusExistsResponse

ResourcesCorpusExistsGetAsync() 공개 메소드

Corpus Exists Check if a corpus exists\n
public ResourcesCorpusExistsGetAsync ( string Name, string Callback ) : Task
Name string Corpus name. The name also contains the directories (ex: \"/myproject/firstPass/PersonalCorpus\")
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusExportGet() 공개 메소드

Export corpus Download a corpus in an expected format.\n
public ResourcesCorpusExportGet ( string CorpusId, string Format, string Callback ) : string
CorpusId string Corpus identifier
Format string The expected corpus format\n
Callback string Javascript callback function name for JSONP Support\n
리턴 string

ResourcesCorpusExportGetAsync() 공개 메소드

Export corpus Download a corpus in an expected format.\n
public ResourcesCorpusExportGetAsync ( string CorpusId, string Format, string Callback ) : Task
CorpusId string Corpus identifier
Format string The expected corpus format\n
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusImportPost() 공개 메소드

Import corpus Add a new corpus from an existing corpus.\n
public ResourcesCorpusImportPost ( string Name, string Input, string InputFile, string Format, List Tag, string Callback ) : CorpusImportResponse
Name string Corpus name. The name also contains the directories (ex: \"/myproject/firstPass/PersonalCorpus\")
Input string Content of the existing corpus\n\n**Either `input` or `inputFile` is required**\n
InputFile string Content of the existing corpus\n\n**Either `input` or `inputFile` is required**\n
Format string Format of the input corpus.\n
Tag List Tag for the the corpus (this parameter can be repeated)
Callback string Javascript callback function name for JSONP Support\n
리턴 CorpusImportResponse

ResourcesCorpusImportPostAsync() 공개 메소드

Import corpus Add a new corpus from an existing corpus.\n
public ResourcesCorpusImportPostAsync ( string Name, string Input, string InputFile, string Format, List Tag, string Callback ) : Task
Name string Corpus name. The name also contains the directories (ex: \"/myproject/firstPass/PersonalCorpus\")
Input string Content of the existing corpus\n\n**Either `input` or `inputFile` is required**\n
InputFile string Content of the existing corpus\n\n**Either `input` or `inputFile` is required**\n
Format string Format of the input corpus.\n
Tag List Tag for the the corpus (this parameter can be repeated)
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusListGet() 공개 메소드

List corpora List available corpora. Parameters can be used to restrict the list of returned corpora.\n
public ResourcesCorpusListGet ( string SourceLang, string TargetLang, bool WithoutPending, bool WithoutError, string Prefix, string Directory, string Callback ) : CorpusListResponse
SourceLang string Source language code ([details](#description_langage_code_values))
TargetLang string Target language code ([details](#description_langage_code_values))
WithoutPending bool Filter out corpora in \"pending\" status\n
WithoutError bool Filter out corpora in \"error\" status\n
Prefix string Prefix of the corpus name\n
Directory string If specified, response will return the content of this directory, including corpora and directories. This list can can also be filtered by the prefix parameter.\n
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.ResourcesClientLib.Model.CorpusListResponse

ResourcesCorpusListGetAsync() 공개 메소드

List corpora List available corpora. Parameters can be used to restrict the list of returned corpora.\n
public ResourcesCorpusListGetAsync ( string SourceLang, string TargetLang, bool WithoutPending, bool WithoutError, string Prefix, string Directory, string Callback ) : Task
SourceLang string Source language code ([details](#description_langage_code_values))
TargetLang string Target language code ([details](#description_langage_code_values))
WithoutPending bool Filter out corpora in \"pending\" status\n
WithoutError bool Filter out corpora in \"error\" status\n
Prefix string Prefix of the corpus name\n
Directory string If specified, response will return the content of this directory, including corpora and directories. This list can can also be filtered by the prefix parameter.\n
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusMatchGet() 공개 메소드

Corpus Match Find sentences in the corpus that match the input text from a given threshold.\n
public ResourcesCorpusMatchGet ( List CorpusId, List Input, string SourceLang, string TargetLang, double Threshold, int Limit, string Callback ) : CorpusMatchResponse
CorpusId List Corpus identifier (this parameter can be repeated)
Input List Text is used to perform the match operation (this parameter can be repeated)\n
SourceLang string Source language code ([details](#description_langage_code_values))
TargetLang string Target language code ([details](#description_langage_code_values))
Threshold double The fuzzy match threshold from which a sentence will be considered as a match result\n
Limit int Limit the number of returned matches. Only first matches within the \"limit\" will be returned\n
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.ResourcesClientLib.Model.CorpusMatchResponse

ResourcesCorpusMatchGetAsync() 공개 메소드

Corpus Match Find sentences in the corpus that match the input text from a given threshold.\n
public ResourcesCorpusMatchGetAsync ( List CorpusId, List Input, string SourceLang, string TargetLang, double Threshold, int Limit, string Callback ) : Task
CorpusId List Corpus identifier (this parameter can be repeated)
Input List Text is used to perform the match operation (this parameter can be repeated)\n
SourceLang string Source language code ([details](#description_langage_code_values))
TargetLang string Target language code ([details](#description_langage_code_values))
Threshold double The fuzzy match threshold from which a sentence will be considered as a match result\n
Limit int Limit the number of returned matches. Only first matches within the \"limit\" will be returned\n
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusSegmentAddPost() 공개 메소드

Add corpus segments Add segments in a corpus.\n
public ResourcesCorpusSegmentAddPost ( CorpusSegmentAddRequest Body, string Callback ) : CorpusSegmentAddResponse
Body Systran.ResourcesClientLib.Model.CorpusSegmentAddRequest List of segments to add
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.ResourcesClientLib.Model.CorpusSegmentAddResponse

ResourcesCorpusSegmentAddPostAsync() 공개 메소드

Add corpus segments Add segments in a corpus.\n
public ResourcesCorpusSegmentAddPostAsync ( CorpusSegmentAddRequest Body, string Callback ) : Task
Body Systran.ResourcesClientLib.Model.CorpusSegmentAddRequest List of segments to add
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusSegmentDeletePost() 공개 메소드

Delete corpus segments Delete segments in a corpus.\n
public ResourcesCorpusSegmentDeletePost ( string CorpusId, List SegId, string Callback ) : CorpusSegmentDeleteResponse
CorpusId string Corpus identifier
SegId List Segment Id (this parameter can be repeated)
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.ResourcesClientLib.Model.CorpusSegmentDeleteResponse

ResourcesCorpusSegmentDeletePostAsync() 공개 메소드

Delete corpus segments Delete segments in a corpus.\n
public ResourcesCorpusSegmentDeletePostAsync ( string CorpusId, List SegId, string Callback ) : Task
CorpusId string Corpus identifier
SegId List Segment Id (this parameter can be repeated)
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusSegmentListGet() 공개 메소드

List corpus segments List segments in a corpus.\n
public ResourcesCorpusSegmentListGet ( string CorpusId, int Skip, int Limit, string Callback ) : CorpusSegmentListResponse
CorpusId string Corpus identifier
Skip int Skip first found segments in the response\n
Limit int Limit the number of returned segments\n
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.ResourcesClientLib.Model.CorpusSegmentListResponse

ResourcesCorpusSegmentListGetAsync() 공개 메소드

List corpus segments List segments in a corpus.\n
public ResourcesCorpusSegmentListGetAsync ( string CorpusId, int Skip, int Limit, string Callback ) : Task
CorpusId string Corpus identifier
Skip int Skip first found segments in the response\n
Limit int Limit the number of returned segments\n
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusSegmentTargetAddPost() 공개 메소드

Add corpus segment targets Add targets to a segment in a corpus.\n
public ResourcesCorpusSegmentTargetAddPost ( CorpusSegmentAddTargetRequest Body, string Callback ) : CorpusSegmentAddTargetResponse
Body Systran.ResourcesClientLib.Model.CorpusSegmentAddTargetRequest List of targets to add
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.ResourcesClientLib.Model.CorpusSegmentAddTargetResponse

ResourcesCorpusSegmentTargetAddPostAsync() 공개 메소드

Add corpus segment targets Add targets to a segment in a corpus.\n
public ResourcesCorpusSegmentTargetAddPostAsync ( CorpusSegmentAddTargetRequest Body, string Callback ) : Task
Body Systran.ResourcesClientLib.Model.CorpusSegmentAddTargetRequest List of targets to add
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusSegmentTargetDeletePost() 공개 메소드

Delete corpus segment targets Delete segment targets in a corpus.\n
public ResourcesCorpusSegmentTargetDeletePost ( string CorpusId, string SegId, List TargetId, string Callback ) : CorpusSegmentDeleteTargetResponse
CorpusId string Corpus identifier
SegId string Segment Id
TargetId List Target id (this parameter can be repeated)
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.ResourcesClientLib.Model.CorpusSegmentDeleteTargetResponse

ResourcesCorpusSegmentTargetDeletePostAsync() 공개 메소드

Delete corpus segment targets Delete segment targets in a corpus.\n
public ResourcesCorpusSegmentTargetDeletePostAsync ( string CorpusId, string SegId, List TargetId, string Callback ) : Task
CorpusId string Corpus identifier
SegId string Segment Id
TargetId List Target id (this parameter can be repeated)
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusSegmentUpdatePost() 공개 메소드

Update corpus segment Update a segment in a corpus.\n
public ResourcesCorpusSegmentUpdatePost ( string CorpusId, string SegId, string Source, string TargetId, string Target, string TargetLang, string Callback ) : CorpusSegmentUpdateResponse
CorpusId string Corpus identifier
SegId string Segment Id
Source string Source text
TargetId string Target id
Target string Target text. `targetId` is required if `target` is specified.
TargetLang string Target language. `targetId` is required if `targetLang` is specified.
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.ResourcesClientLib.Model.CorpusSegmentUpdateResponse

ResourcesCorpusSegmentUpdatePostAsync() 공개 메소드

Update corpus segment Update a segment in a corpus.\n
public ResourcesCorpusSegmentUpdatePostAsync ( string CorpusId, string SegId, string Source, string TargetId, string Target, string TargetLang, string Callback ) : Task
CorpusId string Corpus identifier
SegId string Segment Id
Source string Source text
TargetId string Target id
Target string Target text. `targetId` is required if `target` is specified.
TargetLang string Target language. `targetId` is required if `targetLang` is specified.
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

ResourcesCorpusUpdatePost() 공개 메소드

Update corpus properties Update properties of a corpus.\n
public ResourcesCorpusUpdatePost ( string CorpusId, string Name, List Tag, string Callback ) : CorpusUpdateResponse
CorpusId string Corpus identifier
Name string Corpus name. The name also contains the directories (ex: \"/myproject/firstPass/PersonalCorpus\")
Tag List Tag for the the corpus (this parameter can be repeated)
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.ResourcesClientLib.Model.CorpusUpdateResponse

ResourcesCorpusUpdatePostAsync() 공개 메소드

Update corpus properties Update properties of a corpus.\n
public ResourcesCorpusUpdatePostAsync ( string CorpusId, string Name, List Tag, string Callback ) : Task
CorpusId string Corpus identifier
Name string Corpus name. The name also contains the directories (ex: \"/myproject/firstPass/PersonalCorpus\")
Tag List Tag for the the corpus (this parameter can be repeated)
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

SetBasePath() 공개 메소드

Sets the base path of the API client.
public SetBasePath ( String basePath ) : void
basePath String
리턴 void